Traefik high HTTP 5xx error rate backend critical
Traefik backend 5xx error rate is above 5%
>>>
sum
(
rate
(
{code=~"5.*"}[3m])) by (backend) /
sum
(
rate
(
[3m])) by (backend) * 100 > 5
The query sums the per‑backend rate of 5xx responses over the last 3 minutes, divides it by the total request rate for each backend, multiplies by 100, and checks if the result exceeds 5 %. The alert fires when any backend’s 5xx error percentage is greater than 5 % during that interval.
Get Alert✕
Download
Copy to Clipboard