KubeStateMetricsWatchErrors
critical

Description kube-state-metrics is experiencing errors at an elevated rate in watch operations. This is likely causing it to not be able to expose metrics about Kubernetes objects correctly or at all.
Query for 15m
>>>
	
				
					(
				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{job="kube-state-metrics",result="error"}[5m])) by (cluster)
  /

				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{job="kube-state-metrics"}[5m])) by (cluster))
> 0.01

				
			
    
Query Explanation

The rule computes the error rate of watch operations for kube‑state‑metrics over the past 5 minutes per cluster (error count / total count). If that error fraction exceeds 1 % (> 0.01), the alert fires, indicating kube‑state‑metrics may be failing to watch Kubernetes objects and thus cannot expose their metrics.

Get Alert
Download
Copy to Clipboard