Traefik high HTTP 4xx error rate backend
critical

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

The query computes, for each backend, the percentage of requests that returned a 4xx status over the past 3 minutes by dividing the 4xx request rate by the total request rate and multiplying by 100, and the alert triggers when this percentage exceeds 5%.

Get Alert
Download
Copy to Clipboard