Cassandra compaction task pending
warning

Description Many Cassandra compaction tasks are pending. You might need to increase I/O capacity by adding nodes to the cluster.
Query for 2m
>>>
	
				
					
					
						avg_over_time
					
				
			
				
					(
				
			
				
					
				
			
				
					{name="org:apache:cassandra:metrics:compaction:pendingtasks:value"}[1m]) > 100
				
			
    
Query Explanation

The rule computes the average number of pending compaction tasks reported by the cassandra_stats{name="org:apache:cassandra:metrics:compaction:pendingtasks:value"} metric over the past minute, and fires if this average exceeds 100. In other words, when the cluster consistently has more than 100 pending compaction tasks per minute, the alert triggers, indicating a likely I/O capacity issue.

Get Alert
Download
Copy to Clipboard