Macro root_span

macro_rules! root_span {
    ($name:literal) => { ... };
    ($name:literal, $($attributes:tt)+) => { ... };
}
Expand description

Creates a new root span.

See span.

ยงExamples

use veecle_telemetry::root_span;

let span = root_span!("request");