I have a worker process in a Heroku app that runs Celery (celery worker --app=myapp
). What should I use to monitor workers? Is there something built-in in Django? Or is there some 3rd-party service?
Asked
Active
Viewed 1,754 times
3

Andrew Bezzub
- 15,744
- 7
- 51
- 73
1 Answers
4
You could use Flower, a real-time web based monitor and administration tool for Celery. This repo contains a guide on how to run it on Heroku.
Configure the app by providing your broker url and a password for logging into Flower:
heroku config:set BROKER_URL=redis://...
heroku config:set FLOWER_BASIC_AUTH="username:password"

Dhia
- 10,119
- 11
- 58
- 69

Reto Aebersold
- 16,306
- 5
- 55
- 74
-
[Here's another repo](https://github.com/jpadilla/heroku-flower) which makes deploying a Celery Flower instance to Heroku a one-click adventure! Click the Deploy to Heroku button under the giant celery photo, fill in your broker URL and set a basic auth username/password. Cheers – Greg Sadetsky Dec 24 '18 at 03:23
-
2The repos mentioned above are not working. [This repo](https://github.com/iyanuashiri/celery-flower-heroku) works by fixing the issues with the above-mentioned repos and implementing a deploy to Heroku button – Iyanuoluwa Ajao Apr 11 '20 at 12:48