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

support zipkin b3 propagation #5

Merged
merged 2 commits into from
Apr 17, 2024
Merged

support zipkin b3 propagation #5

merged 2 commits into from
Apr 17, 2024

Conversation

hgiasac
Copy link
Collaborator

@hgiasac hgiasac commented Apr 16, 2024

Connectors should support both W3C and Zipkin B3 propagation. B3 propagation headers priority should be higher because W3C traceparent header is intercepted by Cloud Run service.

@hgiasac hgiasac marked this pull request as ready for review April 16, 2024 16:39
Comment on lines +18 to +19
Box::new(opentelemetry_sdk::propagation::TraceContextPropagator::new()),
Box::new(opentelemetry_zipkin::Propagator::new()),
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't the Zipkin one go first?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, that is confusing. Thanks for clarifying.

@SamirTalwar SamirTalwar added this pull request to the merge queue Apr 17, 2024
Merged via the queue into main with commit 6158b1a Apr 17, 2024
8 checks passed
@SamirTalwar SamirTalwar deleted the support-b3-propagation branch April 17, 2024 05:57
github-merge-queue bot pushed a commit to hasura/ndc-postgres that referenced this pull request Apr 17, 2024
### What

We'd like to accept B3 trace headers because Google Cloud sometimes
messes with W3C headers.

### How

The change has already been made in
hasura/ndc-sdk-rs#5.
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.

2 participants