Skip to content

EnglishScore/celery-flower-heroku

 
 

Repository files navigation

Celery Flower

This project integrates Celery Flower monitoring with Grafana by sending metrics about your Celery queues and workers directly to Grafana. It uses Honcho to manage both the Celery Flower instance and the metrics-sending script on the same Heroku dyno.

It would be better to do this integration by using prometheus in future: https://flower.readthedocs.io/en/latest/prometheus-integration.html

Prerequisites

  • Python 3.x
  • A running Grafana instance
  • A configured Celery setup
  • Heroku account and CLI set up

Environment Variables

You'll need to set the following environment variables:

  • HEROKU_APP_DEFAULT_DOMAIN_NAME: The default domain of your Heroku app where Celery Flower is running. (Comes from: heroku labs:enable runtime-dyno-metadata -a appname)
  • FLOWER_BASIC_AUTH: Basic authentication for Flower, in the format username:password.
  • APP_ENV: Your application's environment (e.g., prod).
  • GRAPHITE_ID: Identifier for your Graphite instance.
  • WAIT_TIME_IN_SECONDS: (Optional) Interval to wait before sending metrics again. Defaults to 1 minute.

About

Monitor Celery processes on Heroku.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Procfile 1.5%