Cloudflare http 4xx error rate warning
Cloudflare high HTTP 4xx error rate (> 5% for domain {{ $labels.zone }})
>>>
(sum by(zone) (
rate
(
{status=~"^4.."}[15m])) / on (zone) sum by (zone) (
rate
(
[15m]))) * 100 > 5
The query calculates, per Cloudflare zone, the percentage of HTTP requests that returned a 4xx status over the last 15 minutes (using rate to get per‑second request rates) and triggers when this 4xx error rate exceeds 5 %. In other words, if more than five percent of the total requests for a domain are client‑error responses in the recent 15‑minute window, the alert fires.
Get Alert✕
Download
Copy to Clipboard