prometheus/model
Sasha 1dcdb07d30
promql: use Kahan summation for Native Histograms (#15687)
As for float samples, Kahan summation is used for the `sum` and `avg` aggregation and for the respective `_over_time` functions.

Kahan summation is not perfect. This commit also adds tests that even Kahan summation cannot reliably pass.
These tests are commented out.

Note that the behavior might be different on other hardware platforms. We have to keep an eye on test failing on other hardware platforms and adjust them accordingly.

Signed-off-by: Aleksandr Smirnov <5targazer@mail.ru>
2026-02-08 00:52:22 +01:00
..
exemplar Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
histogram promql: use Kahan summation for Native Histograms (#15687) 2026-02-08 00:52:22 +01:00
labels model/labels: fix regex with capture, wildcards, literal (#17828) 2026-01-12 15:51:45 +00:00
metadata refactor(appenderV2): add TSDB AppenderV2 implementation 2025-12-09 10:39:43 +00:00
relabel Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
rulefmt Update Go yaml v3 library (#17913) 2026-01-22 16:36:30 +01:00
textparse Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
timestamp Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
value Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00