Container High CPU utilization
warning

Description Container CPU utilization is above 80%
Query for 2m
>>>
	
				
					(
				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{container!=""}[5m])) by (pod, container) / 
				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
				
			
				
					{container!=""}/
				
			
				
					
				
			
				
					{container!=""}) by (pod, container) * 100) > 80
				
			
    
Query Explanation

The query computes each container’s CPU usage percent by dividing the 5‑minute rate of container_cpu_usage_seconds_total (summed per pod and container) by the container’s CPU limit (container_spec_cpu_quota/container_spec_cpu_period, summed per pod and container), multiplying by 100, and the alert fires when this percentage exceeds 80 %.

Get Alert
Download
Copy to Clipboard