def RemoteContext.trace_id

bend-trace-context@0.2.0.0 · trace_context.bend:612

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

612# The trace the received context belongs to.
613def RemoteContext.trace_id(context: RemoteContext) -> TraceId:
614  match context:
615    case RemoteContext{trace_id, span_id, sampled}:
616      trace_id

Uses (2)

Used by (3)