mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
haproxy: align v1 and v2 max current session alerts
This commit is contained in:
parent
b158ebb551
commit
44ee92597e
1 changed files with 1 additions and 1 deletions
|
|
@ -1944,7 +1944,7 @@ groups:
|
|||
severity: critical
|
||||
- name: HAProxy backend max active session > 80%
|
||||
description: Session limit from backend {{ $labels.proxy }} to server {{ $labels.server }} reached 80% of limit - {{ $value | printf "%.2f"}}%
|
||||
query: ((haproxy_server_max_sessions >0) * 100) / (haproxy_server_limit_sessions > 0) > 80
|
||||
query: ((haproxy_backend_current_sessions >0) * 100) / (haproxy_backend_limit_sessions > 0) > 80
|
||||
severity: warning
|
||||
for: 2m
|
||||
- name: HAProxy pending requests
|
||||
|
|
|
|||
Loading…
Reference in a new issue