]> git.openstreetmap.org Git - chef.git/commitdiff
Drop redundant alert that does nothing
authorTom Hughes <tom@compton.nu>
Tue, 23 Jan 2024 08:56:21 +0000 (08:56 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 23 Jan 2024 08:56:21 +0000 (08:56 +0000)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index d8671699c2e6a1aa7088cc8d025ea70dab50f419..598179d5cb4a6f5303d64f601766a61b5f65e61f 100644 (file)
@@ -579,13 +579,6 @@ groups:
           alertgroup: "{{ $labels.instance }}"
         annotations:
           new_deadlocks: "{{ $value }}"
           alertgroup: "{{ $labels.instance }}"
         annotations:
           new_deadlocks: "{{ $value }}"
-      - alert: postgresql slow queries
-        expr: pg_slow_queries > 0
-        for: 5m
-        labels:
-          alertgroup: "{{ $labels.instance }}"
-        annotations:
-          queries: "{{ $value }}"
       - alert: postgresql idle transactions
         expr: sum(pg_process_idle_seconds_count{state="idle in transaction"}) by (instance, server) > sum(pg_process_idle_seconds_bucket{state="idle in transaction",le="300"}) by (instance, server)
         for: 5m
       - alert: postgresql idle transactions
         expr: sum(pg_process_idle_seconds_count{state="idle in transaction"}) by (instance, server) > sum(pg_process_idle_seconds_bucket{state="idle in transaction",le="300"}) by (instance, server)
         for: 5m