Skip to main content

Module telemetry

Module telemetry 

Source
Expand description

telemetry/mod.rs Unified telemetry module: counters, timers, and immutable snapshots.

Industry notes:

  • Telemetry is critical for benchmarking and observability in streaming systems.
  • Immutable snapshots prevent accidental mutation and ensure reproducibility.
  • Stage timers mirror practices in TLS/QUIC libraries where per-record timings are tracked.
  • #[repr(C)] mirror structs provide ABI stability for FFI consumers.

Re-exports§

pub use counters::*;
pub use timers::*;
pub use snapshot::*;

Modules§

counters
telemetry/counters.rs Mutable counters used during streaming pipelines.
snapshot
timers
telemetry/timers.rs Stage timers for streaming pipelines.