-
Notifications
You must be signed in to change notification settings - Fork 791
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
add b3multi propagator #1647
add b3multi propagator #1647
Conversation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
hey @malafeev, can you submit a PR to add
|
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.
thanks @malafeev!
@trask do you want to wait for Spec PR to be merged? Or can we merge this right now? |
let's give the spec PR 24-hours to see if any concerns are raised, if nothing surfaces then I'm good merging speculatively |
@@ -157,7 +157,7 @@ outgoing requests using all the configured propagator formats. | |||
|
|||
| System property | Environment variable | Description | | |||
|------------------|----------------------|-----------------------------------------------------------------------------------------------------------------| | |||
| otel.propagators | OTEL_PROPAGATORS | Default is `tracecontext` (W3C). Other supported values are `b3`, `b3single`, `jaeger`, `ottracer`, and `xray`. | | |||
| otel.propagators | OTEL_PROPAGATORS | Default is `tracecontext` (W3C). Other supported values are `b3`, `b3multi`, `jaeger`, `ottracer`, and `xray`. | |
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.
The behavior of the b3 propagators is a bit confusing so maybe needs some additional docs
`b3` and `b3multi` both extract from the same set of headers, x-b3 multi format and b3 single format. But `b3` injects as b3 single, and `b3multi` injects as x-b3 multi. If you set both `b3` and `b3multi` you can accept and inject all types of b3 headers.
* revert support for b3_single and b3 (multi) propagator Signed-off-by: Sergei Malafeev <sergei@malafeev.org> * add b3multi, default for b3 is single Signed-off-by: Sergei Malafeev <sergei@malafeev.org> (cherry picked from commit da9502c)
* Update publish.gradle (#1611) Do not automatically publish to Bintray after upload (cherry picked from commit 7f012c5) * add b3multi propagator (#1647) * revert support for b3_single and b3 (multi) propagator Signed-off-by: Sergei Malafeev <sergei@malafeev.org> * add b3multi, default for b3 is single Signed-off-by: Sergei Malafeev <sergei@malafeev.org> (cherry picked from commit da9502c) Co-authored-by: Sergei Malafeev <sergei@malafeev.org>
from: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/context/api-propagators.md#b3-requirements: