Description
openedon Oct 31, 2024
Current behaviour
baggage
(and ot-baggage-*
) headers are not being propagated through the system.
Expected behaviour
Based on the Trace Context Propagation documentation, the baggage
headers should be automatically propagated?
Baggage propagation through OpenTelemetry’s W3C-compatible headers is enabled by default.
Perhaps I'm missing something ... but based on the documentation, it seems like this should "just work" 😅
Steps to reproduce
- Make a request to a service with DataDog tracing enabled
- Include a
baggage
orot-baggage-*
HTTP header in the request - Notice that these headers do not get propagated to the rest of the system
Environment
- datadog version:
2.4.0
- Ruby version:
3.3.5
Additional context
It looks like at one point these headers were being propagated, see:
dd-trace-rb/lib/datadog/opentracer/rack_propagator.rb
Lines 12 to 13 in 426ae56
However, I can no longer find any references to "baggage"
in the latest version.
Looking at other language libraries, they still include functionality to propagate these headers, for example: dd-trace-js