Switched out Celery for Huey and am loving everything about it :)
One thing Celery has that I do miss is its flower monitoring tool. Are there any monitoring tools that exist for Huey?
We need to track # of tasks in the Redis Queue, Total time a task spends enqueued before being picked up by a worker, and how many workers are running.
Are there any Huey hooks that could help with this?
I've looked through Huey events but they seem to all only fire once the consumer has picked up a task.
My plan right now is:
Pass a timestamp to the task as an argument when it is enqueued, and then I can compare it to the timestamp once it is pulled out of the queue by a worker. This would get Time in Queue.
I can make a service that calls LLEN on the Redis Huey Queue to track jobs.
I'm not sure the best way to get # of workers. Ideally we want to scale up the number of instances with Huey workers if our task queue gets to a certain length.
Does anyone have any experience monitoring Huey? Is there something I'm missing in the documentation that could help this process?