Skip to main content

rlg_span

Macro rlg_span 

Source
macro_rules! rlg_span {
    ($name:expr, $block:block) => { ... };
}
Expand description

Execute a block within an OTLP-tagged span.

Emits an OTLP log with a generated span_id, increments the active span counter, runs $block, then decrements. Returns the block’s value.