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 propagator option for gRPC instrumentation #986

Merged
merged 3 commits into from
Jul 29, 2020

Conversation

XSAM
Copy link
Member

@XSAM XSAM commented Jul 29, 2020

Currently, there is no way to set up an exclusive propagator for gRPC instrumentation, except using the global propagator.

Here is the scenario, I like to use B3 propagator to be compatible with other tracing systems, which should only affect gRPC header. But using a global propagator will influence all propagators.

So I add options for gRPC instrumentation to achieve this.

Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

LGTM

@MrAlias MrAlias merged commit 26e85e1 into open-telemetry:master Jul 29, 2020
@MrAlias MrAlias mentioned this pull request Jul 29, 2020
@XSAM XSAM deleted the feature/grpctrace branch July 30, 2020 00:30
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this pull request Aug 28, 2020
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.

4 participants