-
Notifications
You must be signed in to change notification settings - Fork 877
Supressed spans get injected #2067
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
Comments
To be clear, this is saying the trace context is injected but not that they're actually traced and exported (infinite loop) correct? |
The |
I suggest we update the propagators to check the context for |
Another option would be to adapt |
so a suppressed instrumentation would always be empty? I think this could be confusing. If suppressing a context returns an empty context, nothing stops the user from adding new properties to it later on. Having some properties missing and others not would be hard to debug for users who didn't know what was going on. |
Yep, agree that your proposal fits better. |
More work and more places to mess up unfortunately, but it's more straightforward |
What version of OpenTelemetry are you using?
0.18.2
What version of Node are you using?
14.16.0
Please provide the code you used to setup the OpenTelemetry SDK
What did you do?
Create spans and watch HTTP messages sent by exporter
What did you expect to see?
HTTP messages without
traceparent
HTTP headerWhat did you see instead?
HTTP messages contain
traceparent
HTTP header even the span for the HTTP operation is suppressed.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: