prometheus/promql
beorn7 3a908d8e08 promql: Improve Kahan usage in avg_over_time
The calculation of the mean value in avg_over_time is performed in an
incremental fashion. This introduces additional numerical errors that
even Kahan summation cannot compensate, but at least we can use the
Kahan-corrected mean value when we use the intermediate mean value in
the calculation.

Signed-off-by: beorn7 <beorn@grafana.com>
2024-07-10 19:20:24 +02:00
..
fuzz-data
parser feat: add limitk() and limit_ratio() operators (#12503) 2024-07-03 22:18:57 +02:00
promqltest promql: make avg aggregation more precise and less expensive 2024-07-10 19:20:24 +02:00
bench_test.go promql: add avg aggregation benchmark 2024-07-04 18:59:30 +02:00
engine.go promql: make avg aggregation more precise and less expensive 2024-07-10 19:20:24 +02:00
engine_internal_test.go refactor: extract some PromQL Engine tests which use unexported structs 2024-05-08 16:27:17 +01:00
engine_test.go feat: add limitk() and limit_ratio() operators (#12503) 2024-07-03 22:18:57 +02:00
functions.go promql: Improve Kahan usage in avg_over_time 2024-07-10 19:20:24 +02:00
functions_internal_test.go Fix issue where summation of +/- infinity returns NaN instead of infinity 2024-06-28 11:26:54 +10:00
functions_test.go test: move most PromQL tests into separate test package 2024-05-08 16:28:56 +01:00
fuzz.go promql: fuzz test needs symbol table for parser 2024-02-26 11:45:25 +00:00
fuzz_test.go
histogram_stats_iterator.go Implement histogram statistics decoder (#14097) 2024-06-06 17:17:13 +02:00
histogram_stats_iterator_test.go Implement histogram statistics decoder (#14097) 2024-06-06 17:17:13 +02:00
promql_test.go feat: add limitk() and limit_ratio() operators (#12503) 2024-07-03 22:18:57 +02:00
quantile.go Merge branch 'main' into nhcb 2024-05-14 16:20:15 +08:00
quantile_test.go
query_logger.go Join errors 2024-05-27 17:14:17 +02:00
query_logger_test.go promql.ActiveQueryTracker: Unmap mmapped file when done 2024-05-09 14:27:29 +02:00
value.go Optimize histogram iterators (#13340) 2024-01-23 17:02:14 +01:00
value_test.go test: move most PromQL tests into separate test package 2024-05-08 16:28:56 +01:00