Merge pull request #91 from obitech/fix_slow_rule_eval_rule

Fix PrometheusRuleEvaluationSlow
This commit is contained in:
Samuel Berthe 2020-03-17 17:46:07 +01:00 committed by GitHub
commit fb07c2bcd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ groups:
severity: error
- name: Prometheus rule evaluation slow
description: 'Prometheus rule evaluation took more time than the scheduled interval. I indicates a slower storage backend access or too complex query.'
query: 'prometheus_rule_group_last_duration_seconds < prometheus_rule_group_interval_seconds'
query: 'prometheus_rule_group_last_duration_seconds > prometheus_rule_group_interval_seconds'
severity: warning
- name: Prometheus notifications backlog
description: The Prometheus notification queue has not been empty for 10 minutes