mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
Merge branch 'master' of github.com:samber/awesome-prometheus-alerts
This commit is contained in:
commit
72a0d78638
1 changed files with 4 additions and 4 deletions
|
|
@ -558,12 +558,12 @@ groups:
|
|||
description: PostgreSQL replication lag is going up (> 30s)
|
||||
query: 'pg_replication_lag > 30 and ON(instance) pg_replication_is_replica == 1'
|
||||
severity: critical
|
||||
- name: Postgresql table not vacuumed
|
||||
description: Table {{ $labels.relname }} has not been vacuumed for 10 days
|
||||
- name: Postgresql table not auto vacuumed
|
||||
description: Table {{ $labels.relname }} has not been auto vacuumed for 10 days
|
||||
query: '(pg_stat_user_tables_last_autovacuum > 0) and (time() - pg_stat_user_tables_last_autovacuum) > 60 * 60 * 24 * 10'
|
||||
severity: warning
|
||||
- name: Postgresql table not analyzed
|
||||
description: Table {{ $labels.relname }} has not been analyzed for 10 days
|
||||
- name: Postgresql table not auto analyzed
|
||||
description: Table {{ $labels.relname }} has not been auto analyzed for 10 days
|
||||
query: '(pg_stat_user_tables_last_autoanalyze > 0) and (time() - pg_stat_user_tables_last_autoanalyze) > 24 * 60 * 60 * 10'
|
||||
severity: warning
|
||||
- name: Postgresql too many connections
|
||||
|
|
|
|||
Loading…
Reference in a new issue