Skip to main content

capture_propagation_context

Function capture_propagation_context 

Source
pub fn capture_propagation_context() -> Result<PropagationContext>
Expand description

Capture the current causal parent without asserting a session root.

Importing the returned context preserves Relay event parentage but starts a new local OpenTelemetry trace. Use capture_propagation_context_with_root when the receiver should participate in a Relay-derived trace rooted at a stable application UUID.