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

OpenTelemetry Trace context Global Propagators are default set to W3CTraceContextPropagator #2208

Closed
surbhigarg92 opened this issue Jan 3, 2025 · 1 comment · Fixed by #2209 or #2210
Assignees
Labels
api: spanner Issues related to the googleapis/nodejs-spanner API.

Comments

@surbhigarg92
Copy link
Contributor

surbhigarg92 commented Jan 3, 2025

Recent release introduced a feature E2E tracing which added the global propagator here

This should not be added as default in the SDK instead customers should add it.

A step-by-step description of how to reproduce the issue, based on the linked reproduction.

  1. Enable E2E tracing as per sample observability-traces
  2. Add Context propagation using any other propagators propagation.setGlobalPropagator(new CompositePropagator()());
  3. Propagators will be overwritten

A clear and concise description of what the bug is, and what you expected to happen.

Propagators should not be added as default. This is a breaking behavior for customers already using propagators

This is recent change in 7.17.0

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/nodejs-spanner API. label Jan 3, 2025
Copy link

github-actions bot commented Jan 3, 2025

Issue was opened with an invalid reproduction link. Please make sure the repository is a valid, publicly-accessible github repository, and make sure the url is complete (example: https://github.com/googleapis/google-cloud-node)

@github-actions github-actions bot closed this as completed Jan 3, 2025
@surbhigarg92 surbhigarg92 reopened this Jan 3, 2025
@surbhigarg92 surbhigarg92 self-assigned this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/nodejs-spanner API.
Projects
None yet
1 participant