Skip to main content

last_two

Function last_two 

Source
fn last_two<const IS_RATE: bool>(
    floats: Option<FloatWindow<'_>>,
    histograms: &[(i64, FloatHistogram)],
    offset_ms: i64,
) -> Result<Option<GridSample>>
Expand description

Prometheus instantValue over the last two samples of either kind; a float and a histogram give nothing.