Extract an OpenTelemetry Context from workflow params using the
globally registered textmap propagator (W3C TraceContext + Baggage by default).
Unlike extractTraceparent, which only pulls out raw strings, this
function returns a fully hydrated Context that can be passed as a parent
to tracer.startActiveSpan() or withTrace().
The returned params are cleaned of all propagation keys (traceparent,
tracestate, baggage, …).
Extract an OpenTelemetry Context from workflow params using the globally registered textmap propagator (W3C TraceContext + Baggage by default).
Unlike extractTraceparent, which only pulls out raw strings, this function returns a fully hydrated
Contextthat can be passed as a parent totracer.startActiveSpan()orwithTrace().The returned
paramsare cleaned of all propagation keys (traceparent,tracestate,baggage, …).