-
Notifications
You must be signed in to change notification settings - Fork 819
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: dont trace ourselves #335
fix: dont trace ourselves #335
Conversation
closes open-telemetry#332 Signed-off-by: Olivier Albertini <[email protected]>
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.
Added a minor comment, otherwise lgtm
Codecov Report
@@ Coverage Diff @@
## master #335 +/- ##
==========================================
+ Coverage 97.9% 97.94% +0.03%
==========================================
Files 105 103 -2
Lines 5021 4965 -56
Branches 423 419 -4
==========================================
- Hits 4916 4863 -53
+ Misses 105 102 -3
|
Signed-off-by: Olivier Albertini <[email protected]>
b82a20a
to
4e2c055
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.
@OlivierAlbertini do you think it would make sense to remove the header after it has been acknowledged by the HTTP plugin?
My rationale is that it has served its purpose and if we pass it downstream someone might have an idea to add some kind of logic that checks for this header to be present.
Other than that LGTM
I think that Other than that, I'm open to do it if everyone is agree. Feel free to open an issue and/or discuss about that in the SIG meeting. |
Should we save the OT_REQUEST_HEADER somewhere centralized so that https://github.com/open-telemetry/opentelemetry-js/pull/335/files#diff-d93b06c50896a34498308e756882b287R17 and https://github.com/open-telemetry/opentelemetry-js/pull/335/files#diff-05d5f58877593b982347e35d3bf78928R33 don't become out of sync? I just don't know which package it would go in as there are no packages other than types that are a shared dependency of the Zipkin exporter and the http plugin. This same header will also be required for the https and http2 plugins if I understand correctly. |
) Co-authored-by: Valentin Marchaud <[email protected]>
Which problem is this PR solving?
Short description of the changes
UPDATE: