Module trace_dispatcher

Module trace_dispatcher 

Source
Expand description

Unified telemetry layer that captures trace events once and fans out to multiple exporters on a background thread, eliminating redundant capture and moving work off the application thread.

Structs§

TraceEventDispatcher
The trace event dispatcher that captures events once and dispatches to multiple sinks on a background thread.

Enums§

DispatcherControl
Control messages for the dispatcher (e.g., adding sinks dynamically)
FieldValue
Simplified field value representation for trace events
TraceEvent
Unified representation of a trace event captured from the tracing layer. This is captured once on the application thread, then sent to the background worker for fan-out to multiple exporters.

Traits§

TraceEventSink
Trait for sinks that receive trace events from the dispatcher. Implementations run on the background worker thread and can perform expensive I/O operations without blocking the application.