root_span

Macro root_span 

macro_rules! root_span {
    ($name:literal $(, $($attributes:tt)*)?) => { ... };
}
Available on crate feature telemetry only.
Expand description

Creates a new root span.

See span.

ยงExamples

use veecle_telemetry::root_span;

let span = root_span!("request");