]> git.openstreetmap.org Git - chef.git/commitdiff
Drop the apache low request rate alert as it's not reliable
authorTom Hughes <tom@compton.nu>
Thu, 25 May 2023 18:05:23 +0000 (19:05 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 25 May 2023 18:05:23 +0000 (19:05 +0100)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index 32ec1344a93ca9ecea9926e7cccc37d95f2a29ae..2ab437c30d4178283a1c6024265c4852c18e3cea 100644 (file)
@@ -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