shell
pip install flower
python
from celery import Celery
app = Celery('myapp', broker='pyamqp://guest@localhost//')
shell
flower --broker=pyamqp://guest@localhost//
shell
flower --broker=<broker-url>
shell
http://localhost:5555
shell
flower --broker=pyamqp://guest@host1:5672/ --broker=pyamqp://guest@host2:5672/
shell
flower --basic_auth=user:password
shell
flower --certfile=<path_to_cert_file> --keyfile=<path_to_key_file>
python
import requests
response = requests.get('http://localhost:5555/api/task/info/<task_id>')
print(response.json())
python
import requests
response = requests.get('http://localhost:5555/api/task/events')
print(response.json())
python
import requests
response = requests.get('http://localhost:5555/api/worker/stats')
print(response.json())