Skip to main content

build_metrics

Function build_metrics 

Source
pub fn build_metrics(
    stats: &MonitordStats,
    state: &ReportState,
) -> Vec<MetricReply>
Expand description

Build every List reply from the latest stats and counters.

Before the first run there are no timings and no timestamp, so only the version, the run counters and healthy = 0 are returned.