Module transient

Module transient 

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.

Structs§

ProcessId
A globally-unique id identifying a process.
SpanAddLinkMessage
Message indicating a link has been added to a span.
SpanCloseMessage
Message indicating a span has been closed (completed).
SpanContext
A struct representing the context of a span, including its ProcessId and SpanId.
SpanEnterMessage
Message indicating a span has been entered.
SpanExitMessage
Message indicating a span has been exited.
SpanId
A process-unique id for a span.
ThreadId
A globally-unique id identifying a thread within a specific process.
TimeSyncMessage
A time synchronization message for coordinating clocks between systems.
Transient
Transient storage family using borrowed data.

Enums§

Severity
Log message severity levels.
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!).