prometheus/promql
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
..
fuzz-data
parser Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
testdata
bench_test.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
engine.go Handle more arithmetic operators for native histograms (#12262) 2023-05-16 21:15:20 +02:00
engine_test.go Handle more arithmetic operators for native histograms (#12262) 2023-05-16 21:15:20 +02:00
functions.go Handle more arithmetic operators for native histograms (#12262) 2023-05-16 21:15:20 +02:00
functions_test.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
fuzz.go textparse/scrape: Add option to scrape both classic and native histograms 2023-05-13 01:32:25 +02:00
fuzz_test.go
promql_test.go add ctx to QueryEngine interface 2023-04-17 21:32:38 -07:00
quantile.go style: Replace `else if` cascades with `switch` 2023-04-19 17:22:31 +02:00
query_logger.go
query_logger_test.go
test.go add ctx to QueryEngine interface 2023-04-17 21:32:38 -07:00
test_test.go promql: Separate `Point` into `FPoint` and `HPoint` 2023-04-13 19:25:16 +02:00
value.go promql: Separate `Point` into `FPoint` and `HPoint` 2023-04-13 19:25:16 +02:00
value_test.go