You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that get_from_carrier should be the one to decide if case is important, not the caller/propagator. EDIT: E.g. HTTP headers are case-insensitive but some messaging system properties might not be.
The w3c specification states that the implementation must ignore the case of the
traceparent
header name: https://www.w3.org/TR/trace-context/#header-name.The current implementation just calls
get_from_carrier
without further info about the case:opentelemetry-python/opentelemetry-api/src/opentelemetry/context/propagation/tracecontexthttptextformat.py
Line 66 in b0da53d
Probably we'll need to add a new parameter to
get_from_carrier
that specifies if the case must be considered or not.Related: #197, #125
The text was updated successfully, but these errors were encountered: