SpanCreateMessage

Type Alias SpanCreateMessage 

pub type SpanCreateMessage<'a> = SpanCreateMessage<'a, Transient>;
Expand description

Span create message with transient values (supports format_args!).

Aliased Type§

pub struct SpanCreateMessage<'a> {
    pub span_id: SpanId,
    pub name: &'a str,
    pub start_time_unix_nano: u64,
    pub attributes: &'a [KeyValue<'a, Transient>],
}

Fields§

§span_id: SpanId

The unique identifier (within the associated process) for this span.

§name: &'a str

The name of the span.

§start_time_unix_nano: u64

Timestamp when the span was started.

§attributes: &'a [KeyValue<'a, Transient>]

Initial attributes attached to the span.