Skip to main content

extended_rate

Function extended_rate 

Source
fn extended_rate(
    window: &FloatWindow<'_>,
    smoothed: bool,
    is_counter: bool,
    is_rate: bool,
) -> Option<f64>
Expand description

Prometheus extendedRate: rate, increase or delta over an anchored or smoothed window. The value at the window start is the last sample at or before it, or for smoothed the interpolation between it and the next one; the end is picked or interpolated the same way. Nothing is extrapolated.