Skip to main content

record_span

Function record_span 

Source
pub fn record_span(
    name: &str,
    kind: &str,
    started_at: SystemTime,
    duration_ms: f64,
    data: HashMap<String, Value>,
)
Expand description

Records a span you timed yourself under the current one; a no-op outside a trace.