Skip to content

Commit

Permalink
Update test/tests/providers/global/loki.rules.test.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Hervé Nicol <[email protected]>
  • Loading branch information
QuentinBisson and hervenicol authored Mar 28, 2024
1 parent 305088c commit 5b4e52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/providers/global/loki.rules.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ tests:
- interval: 1m
input_series:
- series: 'kube_pod_container_status_restarts_total{cluster_type="management_cluster", namespace="loki"}'
values: "0+0x20 0+100x20 0+0x120" # 0 restarts after 20 minutes then we ramp up to 100 restarts in 20 minutes and then back to 0
values: "0+0x20 0+5x20 100+0x120" # 0 restarts after 20 minutes then we ramp up to 100 restarts in 20 minutes and then back to 0
alert_rule_test:
- alertname: LokiRestartingTooOften
eval_time: 15m # should be OK after 15 minutes
Expand Down

0 comments on commit 5b4e52c

Please sign in to comment.