SpanCreateMessage

Type Alias SpanCreateMessage 

pub type SpanCreateMessage = SpanCreateMessage<'static, Owned>;
Available on crate feature alloc only.
Expand description

Span create message with owned values (Send-safe, for IPC).

Aliased Type§

pub struct SpanCreateMessage {
    pub span_id: SpanId,
    pub name: String,
    pub start_time_unix_nano: u64,
    pub attributes: Vec<KeyValue<'static, Owned>>,
}

Fields§

§span_id: SpanId

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

§name: String

The name of the span.

§start_time_unix_nano: u64

Timestamp when the span was started.

§attributes: Vec<KeyValue<'static, Owned>>

Initial attributes attached to the span.