RabbitMQ slow queue consuming
warning

Description Queue messages are consumed slowly (> 60s)
Query for 2m
>>>
	
				
					
					
						time
					
				
			
				
					() - 
				
			
				
					
				
			
				
					{queue="my-queue"} > 60
				
			
    
Query Explanation

The query computes how long the oldest (head) message in my-queue has been waiting by subtracting its timestamp (rabbitmq_queue_head_message_timestamp) from the current time (time()). If that age is greater than 60 seconds, the alert fires, meaning messages are being consumed slower than 60 seconds.

Get Alert
Download
Copy to Clipboard