HAProxy high HTTP 4xx error rate server critical
>>>
((sum by (server) (
rate
(
haproxy_server_http_responses_total
{code="4xx"}[1m])) / sum by (server) (
rate
(
haproxy_server_http_responses_total
[1m]))) * 100) > 5
The query calculates the percentage of HTTP responses with 4xx status codes per server over the last minute, and triggers when this percentage exceeds 5 %. It sums the 4xx response rate and divides by the total response rate for each server, then multiplies by 100.
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 backend max active session > 80%
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 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