Skip to main content

generate_span_id

Function generate_span_id 

Source
pub fn generate_span_id() -> String
Expand description

Generates a highly unique, 16-character pseudo-random hex string suitable for OTLP span IDs.

ยงReturns

A String containing the span ID.