]> git.openstreetmap.org Git - chef.git/commitdiff
Drop duplicate replication lag alert
authorTom Hughes <tom@compton.nu>
Tue, 23 Jan 2024 09:10:10 +0000 (09:10 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 23 Jan 2024 09:10:10 +0000 (09:10 +0000)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index f64b7fc08f17f59d075c231baf474e2c44c7dba4..20136a7715f6ae26b4ad14e0a52a1cf0792d915f 100644 (file)
@@ -105,13 +105,6 @@ groups:
           pressure: "{{ $value | humanizePercentage }}"
   - name: database
     rules:
-      - alert: postgres replication delay
-        expr: pg_replication_lag_seconds > 30
-        for: 15m
-        labels:
-          alertgroup: database
-        annotations:
-          delay: "{{ $value | humanizeDuration }}"
       - alert: active rails queries
         expr: sum(pg_stat_activity_count{instance="snap-01",datname="openstreetmap",usename="rails",state="active"}) > 50 and on (instance) chef_role{name="db-master"}
         for: 5m