Skip to main content

trace_ctx_from_event_trace_id

Function trace_ctx_from_event_trace_id 

Source
pub fn trace_ctx_from_event_trace_id(
    trace_id: &Option<String>,
) -> Option<TraceCtx>
Expand description

Extract a canonical TraceCtx from a legacy trace_id string, if present.

This is the recommended way to obtain structured trace context from job-queue events whose trace_id field is still Option<String>.

Phase status: current / canonical bridge utility.