Skip to main content

Crate rtime_metrics

Crate rtime_metrics 

Source
Expand description

Prometheus metrics for the rTime NTP/PTP time synchronization daemon.

Defines the daemon’s metric instruments (clock offset/jitter/frequency, per-source statistics, packet counters, selection results) and an HTTP exporter that serves them in Prometheus text format at /metrics.

§Modules

  • instruments — metric definitions and update helpers.
  • exporter — the Axum-based /metrics HTTP endpoint.

The metrics facade crate is re-exported for convenience.

Re-exports§

pub use metrics;

Modules§

exporter
instruments
Convenience functions for recording rTime metrics.