HAProxy backend max active session > 80% warning
>>>
((
haproxy_backend_current_sessions
>0) * 100) / (
haproxy_backend_limit_sessions
> 0) > 80
The rule computes the percentage of active sessions for each HAProxy backend by dividing haproxy_backend_current_sessions by haproxy_backend_limit_sessions (only when both are > 0) and multiplying by 100; it fires when this percentage exceeds 80 %. In other words, any backend whose active sessions are more than 80 % of its configured session limit will trigger the alert.
Exporters Used
Related Alerts
HAProxy HTTP slowing down
HAProxy HTTP slowing down
HAProxy backend connection errors
HAProxy backend connection errors
HAProxy backend down
HAProxy backend max active session
HAProxy down
HAProxy frontend security blocked requests
HAProxy frontend security blocked requests
HAProxy high HTTP 4xx error rate backend
HAProxy high HTTP 4xx error rate backend
HAProxy high HTTP 4xx error rate server
HAProxy high HTTP 4xx error rate server
HAProxy high HTTP 5xx error rate backend
HAProxy high HTTP 5xx error rate backend
HAProxy high HTTP 5xx error rate server
HAProxy high HTTP 5xx error rate server
HAProxy pending requests
HAProxy pending requests
HAProxy retry high
HAProxy retry high
HAProxy server connection errors
HAProxy server connection errors
HAProxy server down
HAProxy server healthcheck failure
HAProxy server healthcheck failure
HAProxy server response errors
HAProxy server response errors
HAproxy has no alive backends