Alex Rivera | Logout

How can I view the enqueued tasks in RabbitMQ?

Asked 2012-10-24T13:04:47.587
11

I'm using RabbitMQ as my message broker and my workers are Celery tasks. I'm trying to diagnose an issue where I'm enqueue tasks to RabbitMQ but Celery doesn't pick then up.

Is there a way I can check what tasks are enqueued in RabbitMQ? I'd like to see the date and time when they are enqueued, any ETA is specified, the arguments and the task name.

I haven't been able to find this information in the docs — maybe I've overlooked it — and was hoping that some of you might know an easy way to inspect the task queue. Thanks.

Edit
Report

1 Answer

7

Also some celery tasks to monitor the queue:

http://docs.celeryproject.org/en/latest/userguide/monitoring.html

Check out these commands:

#shows status of all worker nodes
celery status
#List active tasks
celery inspect active
#Show worker statistics (call counts etc.)
celery inspect stats      
answered 2012-10-24T14:11:29.437

Your Answer