what is it?

real-time web application monitoring and administration tool for celery

installation

pip install flower

operation

NB flower hooks onto a celery process, so make sure celery and probably redis python packages are also installed

celery -A project_x flower --port=5555

the flower app will be available on localhost:5555 on the browser

persistance

to persist task data

celery -A project_x flower --persistent=1 --db=/app/flower_db/flower.db --state_save_interval=5000
  • --persistent=1 enables persistent mode
  • --db=/app/flower_db/flower.db sets the database path
  • --state_save_interval=5000 writes data to the database every five seconds