skip_record

Constant skip_record 

Source
pub const skip_record: bool = true;
Expand description

A marker field used to indicate that a span should not be recorded as individual start/end span events; rather the span is purely used to provide context for child events.

Note that the mechanism for skipping span recording uses the precise name “skip_record”, thus it must be used as a naked identifier:

use hyperactor_telemetry::skip_record;

tracing::span!(..., skip_record);