From: Tom Hughes Date: Thu, 25 May 2023 18:05:23 +0000 (+0100) Subject: Drop the apache low request rate alert as it's not reliable X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8a772a64629eb2e7fe271191daea7579a35cdf80?ds=sidebyside Drop the apache low request rate alert as it's not reliable --- diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 32ec1344a..2ab437c30 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -45,13 +45,6 @@ groups: alertgroup: "{{ $labels.instance }}" annotations: busy_workers: "{{ $value | humanizePercentage }}" - - alert: apache low request rate - expr: rate(apache_accesses_total[5m]) / rate(apache_accesses_total[1h] offset 1w) < 0.25 and rate(apache_accesses_total[1h] offset 1w) > 2 - for: 15m - labels: - alertgroup: "{{ $labels.instance }}" - annotations: - request_rate: "{{ $value | humanizePercentage }}" - name: chef rules: - alert: chef client not running