Cloudflare high HTTP 4xx error rate (> 5% for domain {{ $labels.zone }})
- alert: CloudflareHttp4xxErrorRate
expr: (sum by(zone) (rate(cloudflare_zone_requests_status{status=~"^4.."}[15m])) / on (zone) sum by (zone) (rate(cloudflare_zone_requests_status[15m]))) * 100 > 5 and sum by (zone) (rate(cloudflare_zone_requests_status[15m])) > 0
for: 0m
labels:
severity: warning
annotations:
summary: Cloudflare http 4xx error rate (instance {{ $labels.instance }})
description: "Cloudflare high HTTP 4xx error rate (> 5% for domain {{ $labels.zone }})\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"