Module transient

Module transient 

Source
Expand description

Type aliases for transient usage (with format_args! support).

These aliases use Value which may contain non-Send types like format_args!. Use these for local telemetry operations that don’t need to cross thread boundaries.

See the main protocol module docs for more details on the protocol modules provided.

Re-exports§

pub use base::ProcessId;
pub use base::Severity;
pub use base::SpanAddLinkMessage;
pub use base::SpanCloseMessage;
pub use base::SpanContext;
pub use base::SpanEnterMessage;
pub use base::SpanExitMessage;
pub use base::SpanId;
pub use base::ThreadId;
pub use base::TimeSyncMessage;

Structs§

Transient
Transient storage family using borrowed data.

Enums§

Value
A transient value that can be stored in a telemetry attribute.

Type Aliases§

InstanceMessage
Instance message with transient values (supports format_args!).
KeyValue
Key-value pair with transient value (supports format_args!).
LogMessage
Log message with transient values (supports format_args!).
SpanAddEventMessage
Span add event message with transient values (supports format_args!).
SpanCreateMessage
Span create message with transient values (supports format_args!).
SpanSetAttributeMessage
Span set attribute message with transient values (supports format_args!).
TelemetryMessage
Telemetry message with transient values (supports format_args!).
TracingMessage
Tracing message with transient values (supports format_args!).