Replies: 7 comments
-
See the docs here for how to assign multiple propagators: https://opentelemetry.io/docs/instrumentation/java/manual/#setup |
Beta Was this translation helpful? Give feedback.
-
Hi @jkwatson , thanks. You mean something like this?
How OTEL decide which propagator to use for outbound HTTP requests (inject time)? thank you |
Beta Was this translation helpful? Give feedback.
-
Context propagators.create(...) takes vararg parameters. It will inject all of the headers from all of the configured propagators. |
Beta Was this translation helpful? Give feedback.
-
Hi @jkwatson , create() in opentelemetry-sdk.1.19.0.jar takes - if I had enough coffee :-) - one argument.
ciao thanks |
Beta Was this translation helpful? Give feedback.
-
Sorry, I misremembered. It's TextMapPropagator.composite(...) |
Beta Was this translation helpful? Give feedback.
-
thanks |
Beta Was this translation helpful? Give feedback.
-
I'm going to turn this into a discussion, since it's not an issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am new to otel please bear with me,
in case of manual instrumentation is it possible to use 2 propagators for getting (extract) and setting (inject) both B3 and W3C headers? Something similar to - if I understand it right - what can be achieved with "-Dotel.propagators=tracecontext,baggage,b3multi" and javaagent.
thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions