Skip to main content

evaluate_histograms_with_annotations

Function evaluate_histograms_with_annotations 

Source
pub(crate) fn evaluate_histograms_with_annotations(
    function: HistogramFunction,
    schema: &Arc<SeriesSchema>,
    series: &[Series],
    parameters: Option<HistogramParameters<'_>>,
    collector: Option<&PromqlAnnotationCollector>,
) -> Result<Vec<Series>>
Expand description

Evaluates function with optional per-point scalar arguments, reporting what it drops to collector. A missing parameter value suppresses the output at that point, matching aggregate quantile’s missing-q behavior.