mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +08:00
haproxy: align v1 and v2 HAProxy backend max active session > 80% alerts (#475)
* haproxy: align v1 and v2 max current session alerts * fix: remove non-existing label --------- Co-authored-by: Riccardo Cannella <riccardo.cannella@reevo.it>
This commit is contained in:
parent
b158ebb551
commit
7832e01082
1 changed files with 2 additions and 2 deletions
|
|
@ -1943,8 +1943,8 @@ groups:
|
|||
query: (sum by (proxy) (rate(haproxy_server_connection_errors_total[1m]))) > 100
|
||||
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
|
||||
description: Session limit from backend {{ $labels.proxy }} reached 80% of limit - {{ $value | printf "%.2f"}}%
|
||||
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