prometheus/promql/testdata
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
..
aggregators.test address comment 2022-02-15 22:09:17 +08:00
at_modifier.test PromQL: Test negative offset in PromQL tests 2022-01-11 18:23:40 +01:00
collision.test promql: Organize legacy tests into appropriate files (#7989) 2020-10-07 10:09:20 +01:00
functions.test Adds day_of_year function to PromQL 2022-05-20 14:08:34 +02:00
histograms.test add doc 2022-02-13 21:59:03 +08:00
literals.test PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
native_histograms.test Unit tests for native histograms (#12668) 2023-08-25 23:35:42 +02:00
operators.test Drop metric name for "atan2" binary operator 2023-07-24 14:36:02 +02:00
selectors.test PromQL: Test negative offset in PromQL tests 2022-01-11 18:23:40 +01:00
staleness.test Remove 4 interval staleness heuristic. (#3244) 2017-10-05 12:55:14 +01:00
subquery.test PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
trig_functions.test Add inverse hyperbolic functions 2021-09-15 22:47:10 -04:00