Nats high CPU usage
warning

Description NATS server is using more than 80% CPU for the last 5 minutes
Query for 5m
>>>
	
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					[5m]) > 0.8
				
			
    
Query Explanation

The rule calculates the per‑second rate of the gnatsd_varz_cpu counter over the last 5 minutes; if this averaged CPU usage exceeds 0.8 (i.e., 80 % of a CPU core) for the entire 5‑minute window, the alert "Nats high CPU usage" fires.

Get Alert
Download
Copy to Clipboard