Skip to main content

Module tracing

Module tracing 

Source

Functionsยง

finish_span_from_args
Finish a span started by trace_start: computes the elapsed duration, pops the span from the thread-local trace stack if it is on top, and returns (name, trace_id, span_id, duration_ms) suitable for both the default out-buffered trace_end and the bridge-streaming override registered by the ACP runner.