Skip to main content

avg

Function avg 

Source
fn avg(values: &[f64]) -> f64
Expand description

Prometheus funcAvgOverTime: the Kahan sum divided by the count, switching to an incremental mean once the sum would overflow.