Skip to main content

rill_telemetry/
lib.rs

1//! Passive real-time telemetry — peak/RMS/DC probes and non-RT collectors.
2
3#![warn(missing_docs)]
4
5/// Non-real-time collector that drains telemetry from a shared ring buffer.
6pub mod collector;
7/// Active debugging infrastructure (gated behind `debug` feature).
8#[cfg(feature = "debug")]
9pub mod debug;
10/// Real-time telemetry probe that captures per-block metrics.
11pub mod probe;
12
13/// Convenience re-exports for common telemetry types.
14pub mod prelude {
15    pub use crate::collector::TelemetryCollector;
16    #[cfg(feature = "debug")]
17    pub use crate::debug::collector_thread::CollectorThread;
18    #[cfg(feature = "debug")]
19    pub use crate::debug::formatter::{EventFormatter, JsonFormatter, TextFormatter};
20    #[cfg(feature = "debug")]
21    pub use crate::debug::protocol::{
22        AnalyzerCommand, AnalyzerConfig, AnalyzerResponse, OutputMode,
23    };
24    #[cfg(feature = "debug")]
25    pub use crate::debug::state::ProbeStateManager;
26    pub use crate::probe::TelemetryProbe;
27}