URL encoded values for OTEL_EXPORTER_OTLP_HEADERS
are not exported
#2523
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe your environment
Steps to reproduce
What is the expected behavior?
The C++ SDK should support URL encoded values in
OTEL_EXPORTER_OTLP_HEADERS
. For backward compatibility, also non-URL encoded values should be supported.Both this settings should work:
What is the actual behavior?
Currently only non-URL encoded values are supported.
Additional context
The OTel specification requires values for
OTEL_EXPORTER_OTLP_HEADERS
to be formatted conforming with the W3C Baggage specification.The W3C Baggage spec requires values to be URL encoded:
This has been discussed in open-telemetry/opentelemetry-specification#3832, the result being that the behavior described in the OTel and W3C specification is desired and SDKs should support URL encoded values.
The text was updated successfully, but these errors were encountered: