[rabbitmq-discuss] Getting stats from celery
taylste at gmail.com
Thu Jul 21 06:19:23 BST 2011
a few thoughts:
declare "monitor" queue:
* register task (must be done via RPC) --> dump to database
* report on status at each stage: started, pending, completed. --> dump to
Why RPC? Because rabbit guarantees delivery, but not the order in which
messages are delievered in. RPC at the start ensures that later monitoring
has a context. It just seems a little tidier.
Let me know if this helps.
btw: I haven't had a chance to look at Celery... so don't know on that.
On 21 July 2011 06:04, Siddharth Saha <sidchilling at gmail.com> wrote:
> I want to write a script which will keep track of what tasks have been
> submitted and processed and whether the status of the job was Success /
> Failure and how much time did each task take to finish. I want to dump these
> info in a database so that I can pull out reports now and then about the
> Please give me some cues on how I can proceed on this.
> I am using RabbitMQ with Celery in my Python project. Looking forward for
> some help.
> -Siddharth Saha
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss