Skip to main content

histogram_rate

Function histogram_rate 

Source
fn histogram_rate(
    points: &[(i64, FloatHistogram)],
    is_counter: bool,
    offset_ms: i64,
) -> Result<Option<FloatHistogram>>
Expand description

Prometheus histogramRate: the increase from the first to the last histogram, adding back what counter resets dropped. None when the histograms mix exponential and custom buckets.