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

Make gRPC metadata available to AttributeExtractors #6125

Merged
merged 8 commits into from
Jun 3, 2022

Conversation

evantorrie
Copy link
Contributor

Addresses #6123

I wasn't really sure where to add a test for this, and I don't particularly like the way I've done so. It also doesn't seem to be easy to create a javaagent version of this (I think it would involve creating an Instrumentation extension), so I've restricted the test to just the "library" version of the instrumentation.

Feel free to completely change the test structure.

@evantorrie evantorrie requested a review from a team June 1, 2022 05:25
@evantorrie evantorrie changed the title Allow GrpcTelemetryBuilder to be customized to add Extractors, etc Pass gRPC metadata to AttributeExtractors Jun 1, 2022
@evantorrie evantorrie changed the title Pass gRPC metadata to AttributeExtractors Make gRPC metadata available to AttributeExtractors Jun 1, 2022
@trask
Copy link
Member

trask commented Jun 2, 2022

thx @evantorrie! I sent a PR to your PR with some suggestions to align a bit more with existing tests (evantorrie#6)

* Suggestions
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants