prometheus/storage
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
..
remote Unit tests for native histograms (#12668) 2023-08-25 23:35:42 +02:00
buffer.go Add a chunk size limit in bytes (#12054) 2023-08-24 15:21:17 +02:00
buffer_test.go
fanout.go
fanout_test.go
generic.go
interface.go
lazy.go
memoized_iterator.go
memoized_iterator_test.go
merge.go
merge_test.go Add a chunk size limit in bytes (#12054) 2023-08-24 15:21:17 +02:00
noop.go
secondary.go
series.go Add a chunk size limit in bytes (#12054) 2023-08-24 15:21:17 +02:00
series_test.go Add a chunk size limit in bytes (#12054) 2023-08-24 15:21:17 +02:00