mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-16 02:24:06 -08:00
81394ea1c5
Signed-off-by: João Vilaça <jvilaca@redhat.com>
31 lines
531 B
YAML
31 lines
531 B
YAML
rule_files:
|
|
- rules.yml
|
|
|
|
evaluation_interval: 1m
|
|
|
|
# Minimal test cases to check focus on a rule group.
|
|
tests:
|
|
- name: correct test
|
|
input_series:
|
|
- series: test
|
|
values: 1
|
|
|
|
promql_expr_test:
|
|
- expr: test
|
|
eval_time: 0
|
|
exp_samples:
|
|
- value: 1
|
|
labels: test
|
|
|
|
- name: wrong test
|
|
input_series:
|
|
- series: test
|
|
values: 0
|
|
|
|
promql_expr_test:
|
|
- expr: test
|
|
eval_time: 0
|
|
exp_samples:
|
|
- value: 1
|
|
labels: test
|