What is the purpose of opentelemetry::global::set_text_map_propagator #1105
-
What is thew purpose of opentelemetry::global::set_text_map_propagator? I can't find any exhausting documentation about it, and I was able to setup traces propagation between multiple services (following this answer) without the need to set any TextMapPropagator. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The propagation API spec should have the clearest answers for the purpose and requirements. Here's the specific requirement for setting a global propagator https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/context/api-propagators.md#set-global-propagator |
Beta Was this translation helpful? Give feedback.
-
Perfect, thanks! |
Beta Was this translation helpful? Give feedback.
The propagation API spec should have the clearest answers for the purpose and requirements. Here's the specific requirement for setting a global propagator https://github.com/open-telemetry/opentelemetry-specification/blob/v1.22.0/specification/context/api-propagators.md#set-global-propagator