danihodovic / celery-exporter

A Prometheus exporter for Celery metrics
MIT License
399 stars 87 forks source link

How to calculate “num of tasks to be execute” #175

Closed Liubey closed 1 year ago

Liubey commented 1 year ago

Hi, If I want to calculate the num of tasks which need to be execute in the future, May I use celery_task_sent - celery_task_received?

adinhodovic commented 1 year ago

Yes sound about right. Or u can do it by queue celery_queue_length if you do not need task granularity.