-
I implemented an agent extension and registered a TextMapPropagator using AutoConfigurationCustomizerProvider (addPropagatorCustomizer) to propagate the "X-Trace-Level" header. I used this as template: I do see the X-Trace-Level header getting injected in outbound calls, but the problem is that these Does anybody have any tips for what I am missing here? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The function added with |
Beta Was this translation helpful? Give feedback.
-
Hi @laurit, Thank you, this works. I have some hesitation with this solution. I want to add my simple propagator to whatever is currently configured. I don't want to potentially replace/mess the existing configuration. Do you know if this is possible?
|
Beta Was this translation helpful? Give feedback.
-
Thank you. I ended up changing the code to use ConfigurablePropagatorProvider, and I will require that the new provider be set with OTEL_PROPAGATORS. Not ideal but works |
Beta Was this translation helpful? Give feedback.
Thank you. I ended up changing the code to use ConfigurablePropagatorProvider, and I will require that the new provider be set with OTEL_PROPAGATORS. Not ideal but works