X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b8d8c5b86947c933602e98057c106a2f97c040f7..cf4bd571513a1f63e898d1f17c29d472bffe41a6:/cookbooks/prometheus/templates/default/alert_rules.yml.erb diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index f64b7fc08..20136a771 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -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