danihodovic / celery-exporter

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

add queue length handling for redis broker #192

Closed SavinaRoja closed 1 year ago

SavinaRoja commented 1 year ago

A possible fix for https://github.com/danihodovic/celery-exporter/issues/190

I tested this by building the docker image and deployed alongside a celery application using a redis broker. It gave accurate results for the queue length there. I suppose someone else might be in a better position to test for no regressions with rabbit mq.

This reference gave the methodology for getting the count: https://docs.celeryq.dev/en/latest/userguide/monitoring.html#monitoring-redis-queues

danihodovic commented 1 year ago

Released as 0.6.0. Thank you Paul!