prometheus/model/histogram
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
promql: Extend testing framework to support native histograms

This includes both the internal testing framework as well as the rules unit test feature of promtool.

This also adds a bunch of basic tests. Many of the code level tests can now be converted to tests within the framework, and more tests can be added easily.

---------

Signed-off-by: Harold Dost <h.dost@criteo.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Stephen Lang <stephen.lang@grafana.com>
Co-authored-by: Harold Dost <h.dost@criteo.com>
Co-authored-by: Stephen Lang <stephen.lang@grafana.com>
Co-authored-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
2023-08-25 23:35:42 +02:00
..
float_histogram.go Unit tests for native histograms (#12668) 2023-08-25 23:35:42 +02:00
float_histogram_test.go Unit tests for native histograms (#12668) 2023-08-25 23:35:42 +02:00
generic.go histogram: Fix bounds of buckets returned by floatBucketIterator 2023-07-19 18:19:18 +02:00
generic_test.go
histogram.go tsdb: Add counter reset hint to histograms and support in WAL 2023-01-10 17:41:53 +05:30
histogram_test.go