Skip to main content

Crate dial9_core

Crate dial9_core 

Source
Expand description

dial9 recording core: the event bus, recorder, and trace writer.

Modules§

buffer
Rotating trace-segment buffers: the on-disk and in-memory sinks.
clock
Monotonic/realtime clock readings, the trace time base. Monotonic and realtime clock readings, the single time base for all trace timestamps.
collector
Central ring buffer of encoded event batches awaiting write.
custom_events
User-provided custom events. User-provided custom event callbacks.
dumppipeline
On-demand pipeline runs: trigger, request channel, and dump receipts. On-trigger pipeline runs.
encoder
Thread-local event encoding buffers and the Encodable trait. ThreadLocalBuffer is the entrypoint for almost all dial9 events
format
Wire-format events emitted by the bus itself. Wire-format events emitted by the bus itself.
handle
Cloneable handle for recording events and controlling telemetry.
pipelinepipeline
SegmentProcessor trait and the data threaded through the pipeline. Segment-processing pipeline contract.
recorder
The recorder builder. The recorder builder.
recording
The live recorder: recording state with RAII shutdown.
schema_extensions
Dial9 conventions layered on top of trace schema annotations. Dial9 conventions layered on top of free-form trace schema annotations.
source
Source trait: pluggable flush-thread data sources. Source trait for abstracting flush-thread data sources.
thread
Thread identity helpers. Thread identity helpers and per-thread source enrollment.
workerpipeline
Segment-processing worker: runs a SegmentProcessor pipeline over sealed segments. The segment-processing worker.

Macros§

define_thread_localNon-shuttle
rate_limited
Evaluate $call at most once every $interval per call site.