-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Tracing: Support multiple OTel propagators #61199
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
Tracing: Support multiple OTel propagators #61199
Conversation
8e84b2a to
a7af9be
Compare
|
This pull request was removed from the 9.4.0 milestone because 9.4.0 is currently being released. |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
I want to use this change; I'm going to see if I can fix the tests. |
|
Thanks @bboreham 🙇♂️ - I got pulled away to other things and couldn't focus on this 😞 (and then it turned out I don't actually need this). Let me know if you need anything from me! |
|
Here's one way to change it so the tests pass: 40ef798 |
|
I'll rebase if this passes! |
32e9bdf to
fe73882
Compare
chri2547
left a comment
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.
Docs suggestions added. Please make sure I didn't change the technical meaning. Please request re-review when you are done. Thanks!
chri2547
left a comment
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.
Docs look good, thank you! I approve (soft approve).
|
@chri2547 can you un-request changes? this is still blocked by #61199 (review) |
|
CI is failing with: (I guess this is from 3d448b6) I'll take a look tomorrow |
|
Today I realised there is an existing function |
|
@hairyhenderson sync with main should do the trick I believe. |
|
@marefr yup - was trying to commit, but the precommit hook was broken: I think I've got it now. |
3d448b6 to
c7462f5
Compare
Given that |
I spoke too soon - we have a context indeed, so using |
Signed-off-by: Dave Henderson <[email protected]>
This method will be useful elsewhere if we want to log the trace ID.
Co-authored-by: Christopher Moyer <[email protected]>
Signed-off-by: Dave Henderson <[email protected]>
Signed-off-by: Dave Henderson <[email protected]>
f3137a1 to
1fd7807
Compare
marefr
left a comment
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.
LGTM
What is this feature?
Adds support for setting multiple OTel propagators.
Why do we need this feature?
When migrating from Jaeger to W3C propagation with OTel, it's helpful to be support both propagation formats simultaneously, so as not to break any traces.
Who is this feature for?
Anyone operating and monitoring Grafana
Which issue(s) does this PR fix?:
Fixes #61198
Special notes for your reviewer:
Signed-off-by: Dave Henderson [email protected]