OvalMoney / celery-exporter

Prometheus metrics exporter for Celery
MIT License
142 stars 37 forks source link

Metric showing in progress tasks and celery_task_total inconsistency #31

Open Lameorc opened 4 years ago

Lameorc commented 4 years ago

Hi,

The readme seems to suggest that the celery_tasks_total is a gauge but it's implemented as a Counter.

Is there any plan to "revert" this to a gauge showing the inflight tasks in each state currently? Or even introduce a new metric that covers this use case.

Thanks

SharpEdgeMarshall commented 3 years ago

celery_total_task should be reported as Counter in documentation.

We could consider a gauge version for actual queue length like asked in #25