rtime_metrics/lib.rs
1//! Prometheus metrics for the [rTime](https://github.com/ZerosAndOnesLLC/rTime)
2//! NTP/PTP time synchronization daemon.
3//!
4//! Defines the daemon's metric instruments (clock offset/jitter/frequency, per-source
5//! statistics, packet counters, selection results) and an HTTP exporter that serves them in
6//! Prometheus text format at `/metrics`.
7//!
8//! # Modules
9//!
10//! - [`instruments`] — metric definitions and update helpers.
11//! - [`exporter`] — the Axum-based `/metrics` HTTP endpoint.
12//!
13//! The [`metrics`] facade crate is re-exported for convenience.
14
15pub mod exporter;
16pub mod instruments;
17
18// Re-export metrics macros for convenience
19pub use metrics;