Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add upstream address and name tags #104

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

sriemer
Copy link
Contributor

@sriemer sriemer commented Aug 5, 2019

When a request is redirected to an upstream, then it is not visible
where it went. The ngx_http_upstream module maintains a variable
"upstream_addr" for the resolved IP address + port information. It
also sets the name of the used upstream config entry to the request
as request->upstream->upstream->host.
So add that information to the new tags "upstream.address" and
"upstream.name".

When a request is redirected to an upstream, then it is not visible
where it went. The ngx_http_upstream module maintains a variable
"upstream_addr" for the resolved IP address + port information. It
also sets the name of the used upstream config entry to the request
as request->upstream->upstream->host.
So add that information to the new tags "upstream.address" and
"upstream.name".
@sriemer
Copy link
Contributor Author

sriemer commented Aug 5, 2019

The failing docker_image build in ares_dup is unrelated to my changes.

@rnburn
Copy link
Collaborator

rnburn commented Aug 6, 2019

Looks good. I'll try to figure out what's going on with the grpc build. I think maybe the version needs to bumped.

@rnburn rnburn merged commit 327cc25 into opentracing-contrib:master Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants