Questions tagged [flower]

Flower is a real-time web based monitor and administration tool for Celery.

From Celery documentation:

Flower is a real-time web based monitor and administration tool for Celery. Being the recommended monitor for Celery, it obsoletes the Django-Admin monitor, celerymon and the ncurses based monitor.

Flower is pronounced like “flow”, but you can also use the botanical version if you prefer.

Features Real-time monitoring using Celery Events Remote Control HTTP API

203 questions
8
votes
2 answers

How to get the failed tasks in Celery?

I am using celery to process some tasks. I can see how many are active or scheduled etc, but I am not able to find any way to see the tasks that have failed. Flower does show me the status but only if it was running when the task was started and…
S. Swaroop
  • 411
  • 1
  • 6
  • 17
7
votes
2 answers

Celery - Activate a task via command line or HTTP requests

I have a predefined celery task in my code, say my_proj.tasks.my_celery_task I want to activate the task via the command line/HTTP request (not via my application). I searched the documents (saw flower and curl options) but there isn't a real good…
Lin
  • 2,445
  • 5
  • 27
  • 37
6
votes
2 answers

How to use flower to monitor more than 1 worker

Currently, I create a Celery worker + Flower monitoring solution based on https://github.com/itsrifat/flask-celery-docker-scale Celery worker and Flower monitoring both run in a same directory flask-celery The reason is that, so that Flower has…
Cheok Yan Cheng
  • 47,586
  • 132
  • 466
  • 875
6
votes
1 answer

adding flower to celery daemon?

Is it possible to add flower to the celery daemon? Below is my celery config file, I tried added flower config to the CELERYD_OPTS variable but it has failed. or is there another command I can add to the config file to get flower up and running with…
AlexW
  • 2,843
  • 12
  • 74
  • 156
6
votes
0 answers

Celery Flower-Monitor many celery workers in one Flower dashboard

I have many workers running on different EC2 instances and one common Redis [Elasticache] instance they use as broker. I have set up Flower inside Vagrant [along with celery and redis] and I want to monitor all the remote workers with it. Note:…
Kostas Demiris
  • 3,415
  • 8
  • 47
  • 85
6
votes
0 answers

Celery Flower: 'Monitor' graphs appearing in blank

I am using Celery and Flower. When I visit the 'Tasks' tab in Flower, I can see that my tasks are being registered and I can even see "Success" tag in the "State" column and everything. However, on the "Monitor" tab, all the graphs ("Succeeded…
Xar
  • 7,572
  • 19
  • 56
  • 80
6
votes
1 answer

Celery time statistics per-task-name

I have some fairly busy celery queues, but not sure which tasks are the problematic ones. Is there a way to aggregate results to figure out which tasks are taking a long time? I have 10-20 workers on 2-4 servers. Using redis as the broker and as the…
leonsas
  • 4,718
  • 6
  • 43
  • 70
6
votes
2 answers

celery flower gives unknown worker

I'm using celery with redis backend. i am passing CELERY_RESULT_BACKEND with the correct redis url and also the broker url to the Celery app config. I start flower by giving the path to my Celery app with -A and also set the --inspect_timeout=30…
chris
  • 7,222
  • 5
  • 31
  • 37
5
votes
3 answers

Error: No such command 'flower'. Did you mean one of these? worker

I am trying to use django + celery + rabbitmq + flower, but after i downloaded flower using pip3: Collecting flower Using cached flower-0.9.5-py2.py3-none-any.whl (459 kB) Requirement already satisfied: celery>=4.3.0; python_version >= "3.7" in…
Denys
  • 539
  • 1
  • 6
  • 9
5
votes
0 answers

What does it mean to have a Celery worker offline but active=1?

In my case still I'm trying to understand something about it. Running long tasks (they take from 20 mins to 2 hours) I have a weird scenario in which my celery worker, after a while (15-20 mins) pass from status=online to offline, however they still…
Francisco Albert
  • 1,577
  • 2
  • 17
  • 34
5
votes
0 answers

Unable to access flower

I am running flower inside docker,but when I am trying to access it from browser , it's waiting for the response. Command used to run flower docker-compose celery flower -A nrn --address=0.0.0.0 --port=5555 --url-prefix=flower ,port is mapped to…
Pragyan
  • 567
  • 1
  • 5
  • 18
5
votes
2 answers

How to see broker information when using Flower?

I am running flower by the command: celery flower --broker=amqp://:@localhost:5672/ --broker_api=http://:@localhost:5672/api/ I can see the tasks info, the worker info etc. But as soon as I go…
Vikas Prasad
  • 3,163
  • 5
  • 28
  • 39
5
votes
2 answers

Celery Flower dashboard remove worker

I recently installed flower 0.8.4, I created an snapshot in Digital Ocean and then launch a new server using this snapshot. Now flower is still showing the name of the old worker. How can I delete this worker while preserving existing worker…
gogasca
  • 9,283
  • 6
  • 80
  • 125
5
votes
2 answers

Celery task history

I am building a framework for executing tasks on top of Celery framework. I would like to see the list of recently executed tasks (for the recent 2-7 days). Looking on the API I can find app.backend object, but cannot figure out how to make a query…
baldr
  • 2,891
  • 11
  • 43
  • 61
5
votes
2 answers

Supervisord using environment variables in command

My supervisor configuration file environment=USER=%(ENV_FLOWER_USER_NAME),PASS=%(ENV_FLOWER_PASSWORD) command=/usr/local/opt/python/bin/flower --basic_auth=%(ENV_USER}:%(ENV_PASS) When I start supervisord, I receive the following error Restarting…
jdevops
  • 53
  • 1
  • 4
1
2
3
13 14