Traefik high HTTP 5xx error rate service
critical

Description Traefik service 5xx error rate is above 5%
Query for 1m
>>>
	
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{code=~"5.*"}[3m])) by (service) / 
				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					[3m])) by (service) * 100 > 5
				
			
    
Query Explanation

The query computes, for each service, the percentage of requests returning a 5xx status code over the last 3 minutes (using rate to get a per‑second average, summing all 5xx codes, dividing by the total request rate, and multiplying by 100). The alert triggers when this error‑rate percentage exceeds 5 % for any service.

Get Alert
Download
Copy to Clipboard