-
Notifications
You must be signed in to change notification settings - Fork 805
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
fix(http-plugin): strip otel custom http header #983 #984
fix(http-plugin): strip otel custom http header #983 #984
Conversation
Who removes the header in case http plugin is disabled? |
Nobody. If this is important, maybe we should switch to use a hidden property on the request then? Or we could just wait for open-telemetry/opentelemetry-specification#530 I don't really like that we use header values as a signal between plugins. It is an observable side-effect, and quite an intrusive one at that. I much prefer the idea to use context to stop tracing. |
65988bd
to
da78f3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to approve this for now, but I think we should move to a context based system as soon as possible as it will be more generally applicable to e.g. dns
Codecov Report
@@ Coverage Diff @@
## master #984 +/- ##
=======================================
Coverage 95.13% 95.13%
=======================================
Files 212 212
Lines 8895 8899 +4
Branches 801 800 -1
=======================================
+ Hits 8462 8466 +4
Misses 433 433
|
3235a97
to
5b9e397
Compare
* feat: use Otel SDK 1.2/0.28 * fixup! chore(deps): update dependency @types/react-dom to v18 (open-telemetry#974) * host-metrics back to 0.27 * fix: correctly depen on contrib-test-utils * fixup! fix: correctly depen on contrib-test-utils * fixup! feat: use Otel SDK 1.2/0.28
* feat: use Otel SDK 1.2/0.28 * fixup! chore(deps): update dependency @types/react-dom to v18 (open-telemetry#974) * host-metrics back to 0.27 * fix: correctly depen on contrib-test-utils * fixup! fix: correctly depen on contrib-test-utils * fixup! feat: use Otel SDK 1.2/0.28
* feat: use Otel SDK 1.2/0.28 * fixup! chore(deps): update dependency @types/react-dom to v18 (open-telemetry#974) * host-metrics back to 0.27 * fix: correctly depen on contrib-test-utils * fixup! fix: correctly depen on contrib-test-utils * fixup! feat: use Otel SDK 1.2/0.28
see #983 and #965 (comment) for context