Cloudflare http 5xx error rate
critical

Description Cloudflare high HTTP 5xx error rate (> 5% for domain {{ $labels.zone }})
Query
>>>
	
				
					(sum by (zone) (
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{status=~"^5.."}[5m])) / on (zone) sum by (zone) (
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					[5m]))) * 100 > 5
				
			
    
Query Explanation

The rule calculates, per zone, the 5‑minute rate of requests with 5xx status codes divided by the total request rate, multiplies by 100, and triggers when this error‑rate exceeds 5 % for the zone ({{ $labels.zone }}).

Get Alert
Download
Copy to Clipboard