[instrumentation-undici] Traceparent not propagated correctly when header already exist in the request #2796
Labels
bug
Something isn't working
needs:spec
This cannot be implemented without some changes or clarifications in the specification or semconv
pkg:instrumentation-undici
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
What version of OpenTelemetry are you using?
"@opentelemetry/sdk-node": "^0.200.0"
What version of Node are you using?
18.17.0
What did you do?
Enable undici instrumentation, manually add traceparent to request, make request using fetch
What did you expect to see?
traceparent header is propagated correctly
What did you see instead?
Incorrect format of traceparent causing parseTraceParent in W3CTraceContextPropagator to fail and return null
Ex:
traceparent = "00-5c4f0bdefa3390bbb38cc02bc2766517-7104f40181c58265-01, 00-5c4f0bdefa3390bbb38cc02bc2766517-db1f1457d0e19314-01"
Additional context
Related to
open-telemetry/opentelemetry-js#5590
The text was updated successfully, but these errors were encountered: