X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/502d0b6bd03072291b6cfc6a15770ac91dd31309..ab863f7f6f6e537980861c533b5d8612986824f9:/cookbooks/prometheus/templates/default/alert_rules.yml.erb diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 396de8de4..3c448cc2a 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -99,7 +99,7 @@ groups: - name: database rules: - alert: postgres replication delay - expr: pg_replication_lag_seconds > 30 + expr: pg_replication_lag > 30 for: 15m labels: alertgroup: database @@ -507,7 +507,7 @@ groups: labels: alertgroup: "{{ $labels.instance }}" - alert: postgresql replication delay - expr: pg_replication_lag_seconds > 30 + expr: pg_replication_lag > 30 for: 15m labels: alertgroup: "{{ $labels.instance }}"