Skip to main content

aggregate_quantile

Function aggregate_quantile 

Source
pub fn aggregate_quantile(
    schema: &Arc<SeriesSchema>,
    input: &[Series],
    q: &Series,
    grouping: Grouping<'_>,
) -> Result<Vec<Series>>
Expand description

quantile(q, v), with q read at each grid point from an unlabelled single-field scalar on the same grid, as Prometheus evaluates the parameter at every step. A point where q has no value has no result; q outside [0, 1] or NaN gives what Prometheus’ quantile gives.