Traefik high HTTP 4xx error rate service critical
Traefik service 4xx error rate is above 5%
>>>
sum
(
rate
(
{code=~"4.*"}[3m])) by (service) /
sum
(
rate
(
[3m])) by (service) * 100 > 5
The query calculates, for each service, the percentage of requests that returned a 4xx status over the past 3 minutes (sum(rate(...[3m]))), and the alert fires when this error‑rate exceeds 5 %. In other words, if more than five percent of a service's recent requests are client errors, the alert triggers.
Get Alert✕
Download
Copy to Clipboard