From: Tom Hughes Date: Sun, 21 Nov 2021 12:41:03 +0000 (+0000) Subject: Correct annotation for pressure alerts X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/99423336378c46014559344bf30b8c6b5d8724ae Correct annotation for pressure alerts --- diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 7d7fa4abf..9a9008ac2 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -30,7 +30,7 @@ groups: labels: alertgroup: "{{ $labels.instance }}" annotations: - major_page_faults: "{{ $value | humanizePercentage }}" + pressure: "{{ $value | humanizePercentage }}" - name: database rules: - alert: postgres replication delay @@ -101,7 +101,7 @@ groups: labels: alertgroup: "{{ $labels.instance }}" annotations: - major_page_faults: "{{ $value | humanizePercentage }}" + pressure: "{{ $value | humanizePercentage }}" - name: ipmi rules: - alert: ipmi fan alarm @@ -177,7 +177,7 @@ groups: labels: alertgroup: "{{ $labels.instance }}" annotations: - major_page_faults: "{{ $value | humanizePercentage }}" + pressure: "{{ $value | humanizePercentage }}" - alert: oom kill detected expr: increase(node_vmstat_oom_kill[1m]) > 0 for: 0m