prometheus/promql/promqltest/testdata
George Krajcsovits 5cd9855999
tests(promql/testdata): add regression test for and-on (#15425)
* tests(promql/testdata): add regression test for and-on

I'd like to use queries of the form "x and on() (vector(y)==1)" to be
able to include and exclude series for dashboards. This helps migration
to native histograms in dashboards by using a dashboard variable to
set "y" to either -1 or 1 to exclude or include the result.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

---------

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-11-20 10:29:18 +01:00
..
aggregators.test [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms (#15245) 2024-11-12 15:37:05 +01:00
at_modifier.test Merge branch 'main' into 3.0-main-sync-24-07-18 2024-07-18 15:56:40 +02:00
collision.test test: move test files into new promqltest package 2024-05-08 13:42:55 +01:00
functions.test Merge branch 'main' into jhesketh/clamp 2024-11-12 10:20:58 +11:00
histograms.test Add additional basic nhcb unit tests (#15086) 2024-10-08 14:34:32 +02:00
limit.test feat: add limitk() and limit_ratio() operators (#12503) 2024-07-03 22:18:57 +02:00
literals.test test: move test files into new promqltest package 2024-05-08 13:42:55 +01:00
name_label_dropping.test Merge branch 'release-2.55' into merge-2.55-into-main2 2024-11-04 12:58:38 +00:00
native_histograms.test [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms (#15245) 2024-11-12 15:37:05 +01:00
operators.test tests(promql/testdata): add regression test for and-on (#15425) 2024-11-20 10:29:18 +01:00
range_queries.test make matrix selection and lookback left-open and right-closed 2024-06-20 22:05:40 +08:00
selectors.test test: move test files into new promqltest package 2024-05-08 13:42:55 +01:00
staleness.test Merge branch 'main' into 3.0-main-sync-24-07-18 2024-07-18 15:56:40 +02:00
subquery.test Merge branch 'main' into 3.0-main-sync-24-07-18 2024-07-18 15:56:40 +02:00
trig_functions.test make matrix selection and lookback left-open and right-closed 2024-06-20 22:05:40 +08:00