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§
- Process
Id - A globally-unique id identifying a process.
- Span
AddLink Message - Message indicating a link has been added to a span.
- Span
Close Message - Message indicating a span has been closed (completed).
- Span
Context - A struct representing the context of a span, including its
ProcessIdandSpanId. - Span
Enter Message - Message indicating a span has been entered.
- Span
Exit Message - Message indicating a span has been exited.
- SpanId
- A process-unique id for a span.
- Thread
Id - A globally-unique id identifying a thread within a specific process.
- Time
Sync Message - 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§
- Instance
Message - 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!). - Span
AddEvent Message - Span add event message with transient values (supports
format_args!). - Span
Create Message - Span create message with transient values (supports
format_args!). - Span
SetAttribute Message - Span set attribute message with transient values (supports
format_args!). - Telemetry
Message - Telemetry message with transient values (supports
format_args!). - Tracing
Message - Tracing message with transient values (supports
format_args!).