rengine icon indicating copy to clipboard operation
rengine copied to clipboard

Add flower install and expose port 5555

Open psyray opened this issue 2 years ago • 2 comments

fix #1042

https://docs.celeryq.dev/en/latest/userguide/monitoring.html

image

https://medium.com/featurepreneur/flower-celery-monitoring-tool-50fba1c8f623

Flower

A flower is a web-based tool for monitoring and administrating Celery clusters. It has a UI that monitors all the workers on celery. It gives clear statistics on the active tasks, processed tasks showing whether the task was successful or not, and also tells the load average of the tasks. It also maintains the name of the task, the arguments, the result, and the time taken to complete the task.

Flower is not started by default

You need to go inside the celery container and launch flower manually

docker exec -it rengine_celery /usr/bin/bash
root@e76c97c4be38:/usr/src/app# celery flower

Maybe we could enable it by default to give the facility to kill worker when needed ?

psyray avatar Nov 16 '23 15:11 psyray

@psyray there seems to be a conflict. please resolve.

yogeshojha avatar Dec 18 '23 01:12 yogeshojha

@psyray there seems to be a conflict. please resolve.

Resolved.

Do you think i need to restrict the port to 127.0.0.1 ?

psyray avatar Dec 18 '23 20:12 psyray

Is this not on the roadmap for 2.1.0 anymore?

Talanor avatar May 12 '24 07:05 Talanor