mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-31 07:30:49 -08:00
f01718262a
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> |
||
---|---|---|
.. | ||
at-modifier-test.yml | ||
at-modifier.yml | ||
authorization_credentials_file.bad.yml | ||
authorization_credentials_file.good.yml | ||
bad-input-series.yml | ||
bad-promql.yml | ||
bad-rules-error-test.yml | ||
bad-rules-error.yml | ||
bad-rules-syntax-test.yml | ||
bad-rules-syntax.yml | ||
bad-sd-file-extension.nonexistant | ||
bad-sd-file-format.yml | ||
config_with_rule_files.yml | ||
config_with_service_discovery_files.yml | ||
config_with_tls_files.yml | ||
failing.yml | ||
good-sd-file.json | ||
good-sd-file.yaml | ||
good-sd-file.yml | ||
long-period.yml | ||
metrics-test.prom | ||
negative-offset-test.yml | ||
negative-offset.yml | ||
prometheus-config.bad.yml | ||
prometheus-config.good.yml | ||
prometheus-config.lint.yml | ||
prometheus-rules.lint.yml | ||
rules.yml | ||
rules_duplicates.yml | ||
rules_large.yml | ||
unittest.yml | ||
url_in_alert_targetgroup_with_relabel_config.bad.yml | ||
url_in_alert_targetgroup_with_relabel_config.good.yml | ||
url_in_scrape_targetgroup_with_relabel_config.bad.yml | ||
url_in_scrape_targetgroup_with_relabel_config.good.yml |