danihodovic / celery-exporter

A Prometheus exporter for Celery metrics
MIT License
409 stars 90 forks source link

Make exporter work with eventlet concurrency #259

Closed aequitas closed 1 year ago

aequitas commented 1 year ago

If any other Celery concurrency method is used other than prefork the pool processes information might not be available, resulting in a failure when scraping metrics. This PR makes sure the processes are only counted for prefork.

danihodovic commented 1 year ago

Looks good. Fix the linting issues and I'll merge.

aequitas commented 1 year ago

Should be fixed now.

danihodovic commented 1 year ago

Dankjewel Jonas

Released as danihodovic/celery-exporter:0.9.1