prometheus/cmd/promtool/testdata
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. ()
Conditions are ANDed inside the same matcher but matchers are ORed

Including unit tests for "promtool tsdb dump".

Refactor some matchers scraping utils.

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-01-15 10:29:53 +00:00
..
at-modifier-test.yml Promtool: Add feature flags to unit tests () 2021-06-30 22:43:39 +01:00
at-modifier.yml Promtool: Add feature flags to unit tests () 2021-06-30 22:43:39 +01:00
authorization_credentials_file.bad.yml promtool: Fix credentials file check () 2021-11-30 15:02:07 +11:00
authorization_credentials_file.good.yml promtool: Fix credentials file check () 2021-11-30 15:02:07 +11:00
bad-input-series.yml promtool: Calculate mint and maxt per test () 2020-10-24 12:03:55 +01:00
bad-promql.yml fixes yamllint errors 2021-06-12 12:47:47 +02:00
bad-rules-error-test.yml Fix misspelled word in comment () 2021-01-07 10:01:08 +00:00
bad-rules-error.yml promtool: Calculate mint and maxt per test () 2020-10-24 12:03:55 +01:00
bad-rules-syntax-test.yml promtool: Calculate mint and maxt per test () 2020-10-24 12:03:55 +01:00
bad-rules-syntax.yml promtool: Calculate mint and maxt per test () 2020-10-24 12:03:55 +01:00
bad-sd-file-extension.nonexistant Promtool: Validate service discovery files () 2021-06-29 17:32:59 +02:00
bad-sd-file-format.yml Promtool: Validate service discovery files () 2021-06-29 17:32:59 +02:00
config_with_rule_files.yml promtool: Add --syntax-only flag for check config 2021-12-02 15:33:11 -05:00
config_with_service_discovery_files.yml promtool: Add --syntax-only flag for check config 2021-12-02 15:33:11 -05:00
config_with_tls_files.yml promtool: Add --syntax-only flag for check config 2021-12-02 15:33:11 -05:00
dump-test-1.prom promtool: allow setting multiple matchers to "promtool tsdb dump" command. () 2024-01-15 10:29:53 +00:00
dump-test-2.prom promtool: allow setting multiple matchers to "promtool tsdb dump" command. () 2024-01-15 10:29:53 +00:00
dump-test-3.prom promtool: allow setting multiple matchers to "promtool tsdb dump" command. () 2024-01-15 10:29:53 +00:00
failing.yml promtool: Add more negative alert tests 2021-02-15 17:00:49 +00:00
good-sd-file.json Promtool: Validate service discovery files () 2021-06-29 17:32:59 +02:00
good-sd-file.yaml Promtool: Validate service discovery files () 2021-06-29 17:32:59 +02:00
good-sd-file.yml Promtool: Validate service discovery files () 2021-06-29 17:32:59 +02:00
long-period.yml Disable time based retention in tests () 2022-01-02 23:46:03 +01:00
metrics-test.prom Add '--weight' flag to 'promtool check metrics' command () 2022-01-07 16:58:28 -05:00
negative-offset-test.yml Promtool: Add feature flags to unit tests () 2021-06-30 22:43:39 +01:00
negative-offset.yml Promtool: Add feature flags to unit tests () 2021-06-30 22:43:39 +01:00
no-test-group-interval.yml Set test group interval default to evaluation interval () 2023-10-20 21:32:46 +11:00
prometheus-config.bad.yml Fix promtool check config not erroring properly on failures () 2022-07-01 14:38:49 +02:00
prometheus-config.good.yml Fix promtool check config not erroring properly on failures () 2022-07-01 14:38:49 +02:00
prometheus-config.lint.yml Fix promtool check config not erroring properly on failures () 2022-07-01 14:38:49 +02:00
prometheus-rules.lint.yml Fix promtool check config not erroring properly on failures () 2022-07-01 14:38:49 +02:00
rules-bad.yml Fix rule check broken () 2023-09-25 17:48:05 +10:00
rules.yml Fix subqueries with default resolution in promql unit tests 2021-03-07 09:20:04 +01:00
rules_duplicates.yml promtool: Add testcase for detecting duplicates 2021-09-06 23:10:26 +08:00
rules_large.yml promtool: Add simple benchmark checkDuplicates benchmark 2021-09-06 23:10:26 +08:00
rules_run.yml Add --run flag to promtool test rules 2023-06-28 17:57:32 +01:00
unittest.yml Unit tests for native histograms () 2023-08-25 23:35:42 +02:00
url_in_alert_targetgroup_with_relabel_config.bad.yml Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for () 2021-10-28 02:01:28 +02:00
url_in_alert_targetgroup_with_relabel_config.good.yml Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for () 2021-10-28 02:01:28 +02:00
url_in_scrape_targetgroup_with_relabel_config.bad.yml Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for () 2021-10-28 02:01:28 +02:00
url_in_scrape_targetgroup_with_relabel_config.good.yml Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for () 2021-10-28 02:01:28 +02:00