Skip to main content

Module

Execution-context-local session selection and W3C baggage propagation.

_SessionSelection

Marker type for execution-local session selection state.

SplunkAOSessionPropagator

Preserve the configured propagator while normalizing session baggage.

clear_session_context

Explicitly suppress local, inbound, and compatibility session selection.

explicit_session_id

Return whether a saved selection is explicit and its session value.

extract_session_context

Extract configured trace context and normalize session baggage.

get_effective_session_id

Resolve the execution-local, inbound, or compatibility session ID.

get_session_selection

Return the raw execution-local selection for nested-context restoration.

inject_session_context

Inject configured trace context and normalized session baggage.

install_session_propagator

Wrap the process-global propagator with the session-aware adapter. The current propagator remains the delegate. Replacing the global propagator later also removes this adapter until this function is called again.

restore_session_selection

Restore a previously captured execution-local selection.

set_session_context

Set or reset the explicit session selection for this execution context. Passing None retains the historical reset behavior: inbound baggage and the logger compatibility field may be consulted again. Use