prometheus/model/histogram
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262)
Handle more arithmetic operators and aggregators for native histograms

This includes operators for multiplication (formerly known as scaling), division, and subtraction. Plus aggregations for average and the avg_over_time function.

Stdvar and stddev will (for now) ignore histograms properly (rather than counting them but adding a 0 for them).

Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2023-05-16 21:15:20 +02:00
..
float_histogram_test.go Handle more arithmetic operators for native histograms (#12262) 2023-05-16 21:15:20 +02:00
float_histogram.go Handle more arithmetic operators for native histograms (#12262) 2023-05-16 21:15:20 +02:00
generic_test.go histogram: Modify getBound to deal properly with infinity 2022-10-06 17:40:03 +02:00
generic.go Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
histogram_test.go Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
histogram.go tsdb: Add counter reset hint to histograms and support in WAL 2023-01-10 17:41:53 +05:30