-
Notifications
You must be signed in to change notification settings - Fork 319
Open
Labels
comp: context propagationTrace context propagationTrace context propagationtype: bugBug report and fixBug report and fix
Description
Tracer Version(s)
1.56.1~b8849a9451
Java Version(s)
21.0.9
JVM Vendor
Eclipse Adoptium / Temurin
Bug Report
Baggage mapped into the trace baggage via DD_TRACE_HEADER_BAGGAGE is not retrievable via OTEL Context.
Expected Behavior
I expect OTEL Baggage to be the same as Datadog Internal Tracer Baggage
Reproduction Code
ENV:
DD_ENV=dev
DD_INTEGRATIONS_ENABLED=true
DD_REMOTE_CONFIGURATION_ENABLED=false
DD_SERVICE=example
DD_SERVICE_NAME=example
DD_TELEMETRY_DEPENDENCY_COLLECTION_ENABLED=false
DD_TRACE_DEBUG=true
DD_TRACE_HEADER_BAGGAGE=comp-business-process-id:company.businessProcessId,comp-business-process-name:company.businessProcessName
DD_TRACE_OTEL_ENABLED=true
HTTP Call with headers:
GET http://localhost:8504/client
comp-business-process-id: this-is-a-bpid-keep-it
comp-business-process-name: this-is-a-bpid-name-keep-it
Retrieving baggas as map should contain the mentioned properties.
Baggage.current().asMap()
Metadata
Metadata
Assignees
Labels
comp: context propagationTrace context propagationTrace context propagationtype: bugBug report and fixBug report and fix