Skip to main content

new_span_id

Function new_span_id 

Source
pub fn new_span_id() -> String
Expand description

A fresh 8-byte (16-hex) span id, unique per call (time ⊕ pid ⊕ counter). Public so the otel span export can mint child span ids under the run trace.