Expand description
The compensated sum and avg fold of native histograms, following the histogram paths of
Prometheus aggregation. The range functions sum_over_time and avg_over_time fold a window
with it, and the aggregate node runs the same steps per point through
crate::aggregate::HistogramAccumulator.
Enumsยง
- Histogram
Aggregate ๐ - A native histogram aggregation.
Functionsยง
- sum_
or_ ๐avg - The Kahan sum or the mean of
histogramsin order, without compaction;Nonewhen there is none or they mix exponential and custom buckets. Prometheussum_over_timeandavg_over_timerun the same steps as the aggregations. Histograms are consumed one at a time, so the first error ends the fold. The result is derived, so it carries no start timestamp.