{"repo":"danihodovic/celery-exporter","free":true,"listed":false,"github":"https://github.com/danihodovic/celery-exporter","clone":"git clone https://github.com/danihodovic/celery-exporter.git","description":"A Prometheus exporter for Celery metrics","language":"Python","stars":556,"topics":["celery","prometheus","metrics","exporter","django","redis","rabbitmq"],"license":"MIT","category":"analytics","readme_excerpt":"celery-exporter Table of Contents Why another exporter? Features Usage Enable events using the CLI Running the exporter Metrics Development Contributors Why another exporter? While I was adding Celery monitoring to a client site I realized that the existing brokers either didn't work, exposed incorrect metric values or didn't expose the metrics I needed. So I wrote this exporter which essentially wraps the built-in Celery monitoring API and exposes all of the event metrics to Prometheus in real-time. Features - Tested for both Redis and RabbitMQ - Uses the built in real-time monitoring component in Celery to expose Prometheus metrics - Tracks task status (task-started, task-succeeded, task-failed etc) - Tracks which workers are running and the number of active tasks - Follows the Prometheus exporter best practises - Deployed as a Docker image or Python single-file binary (via PyInstaller) - Exposes a health check endpoint at /health - Grafana dashboards provided by the Celery-mixin - Prometheus alerts provided by the Celery-mixin Dashboards and alerts Alerting rules can be found here. By default we alert if: - A task failed in the last 10 minutes. - No Celery workers are online. Tweak these to suit your use-case. The Grafana dashboard (seen in the image above) is here. You can import it directly into your Grafana instance. There's another Grafana dashboards that shows an overview of Celery tasks. An image can be found in ./images/celery-tasks-overview.png . It can also be fou","default_branch":null,"files":null,"tree":[],"storefront":"/r/danihodovic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danihodovic/celery-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}