mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
Update rules.yml
This commit is contained in:
parent
4279dedb52
commit
053cde27e4
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ groups:
|
|||
severity: warning
|
||||
- name: Postgresql too many connections
|
||||
description: PostgreSQL instance has too many connections (> 80%).
|
||||
expr: 'sum by (instance, job, server) (pg_stat_activity_count) > min by (instance, job, server) (pg_settings_max_connections * 0.8)'
|
||||
query: 'sum by (instance, job, server) (pg_stat_activity_count) > min by (instance, job, server) (pg_settings_max_connections * 0.8)'
|
||||
severity: warning
|
||||
for: 2m
|
||||
- name: Postgresql not enough connections
|
||||
|
|
|
|||
Loading…
Reference in a new issue