From: Tom Hughes Date: Tue, 23 Jan 2024 08:56:21 +0000 (+0000) Subject: Drop redundant alert that does nothing X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/1ac238e5f43bfd0f77675d9e7e6e326e9916c3d8 Drop redundant alert that does nothing --- diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index d8671699c..598179d5c 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -579,13 +579,6 @@ groups: 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