Skip to content

baggage headers not propagating #4055

Open

Description

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

  1. Make a request to a service with DataDog tracing enabled
  2. Include a baggage or ot-baggage-* HTTP header in the request
  3. 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:

BAGGAGE_PREFIX = 'ot-baggage-'.freeze
BAGGAGE_PREFIX_FORMATTED = 'HTTP_OT_BAGGAGE_'.freeze

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugInvolves a bugcommunityWas opened by a community member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions