X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/085c75b108bfae4853ed79a4a3fd0894f358a61a..5a1789389a423c29a13868410a841d35569b483d:/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 ebcb59f9c..1736da60c 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -99,8 +99,8 @@ groups: - name: database rules: - alert: postgres replication delay - expr: pg_replication_lag_seconds > 5 - for: 5m + expr: pg_replication_lag_seconds > 30 + for: 15m labels: alertgroup: database annotations: @@ -489,8 +489,8 @@ groups: labels: alertgroup: "{{ $labels.instance }}" - alert: postgresql replication delay - expr: pg_replication_lag_seconds > 5 - for: 1m + expr: pg_replication_lag_seconds > 30 + for: 15m labels: alertgroup: "{{ $labels.instance }}" annotations: @@ -638,6 +638,13 @@ groups: alertgroup: tile annotations: miss_rate: "{{ $value | humanizePercentage }}" + - alert: tile render rate + expr: sum(rate(renderd_zoom_metatiles_total[5m])) by (instance) == 0 + for: 15m + labels: + alertgroup: tile + annotations: + render_rate: "{{ $value }} tiles/s" - name: time rules: - alert: clock not synchronising