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
57
votes
8 answers

Celery Flower Security in Production

I am looking to use Flower (https://github.com/mher/flower) to monitor my Celery tasks in place of the django-admin as reccomended in their docs (http://docs.celeryproject.org/en/latest/userguide/monitoring.html#flower-real-time-celery-web-monitor).…
mh00h
  • 1,824
  • 3
  • 25
  • 45
21
votes
5 answers

ImportError: cannot import name 'Command' from 'celery.bin.base'

When I run the command flower -A main --port=5555 Flower doesn't work, the error is: > ImportError: cannot import name 'Command' from 'celery.bin.base' Any ideas? Main is a Django Project
pedro.caicedo.dev
  • 2,269
  • 2
  • 16
  • 19
20
votes
2 answers

can someone explain load average in flower?

I use flower to monitor my rabbitmq queues, I am not able to understand how load average is calculated, if someone can explain then that would be of great help. I've a quad core processor . Thank You.
Nagraj93
  • 383
  • 2
  • 9
19
votes
2 answers

Celery works, but with flower doesn't work

I have installed celery and RabitMQ and flower. I am able to browse to the flower port. I have the following simple worker that I can attach to celery and call from a python program: # -*- coding: utf-8 -*- """ Created on Sat Dec 12 16:37:33…
Ivan
  • 7,448
  • 14
  • 69
  • 134
17
votes
1 answer

How do I run celery status/flower without the -A option?

Consider this bash session: $ export DJANGO_SETTINGS_MODULE=web.settings $ celery status -b redis://redis.businessoptics.dev:6379/1 -t 10 Error: No nodes replied within time constraint. $ celery status -b redis://redis.businessoptics.dev:6379/1 -t…
Alex Hall
  • 34,833
  • 5
  • 57
  • 89
17
votes
2 answers

How do I add authentication and endpoint to Django Celery Flower Monitoring?

I've been using flower locally and it seems easy enough to setup and run, but I can't see how I would set it up in a production environment. In particular, how can I add authentication and how would I define a url to access it?
tzenderman
  • 2,523
  • 3
  • 21
  • 24
16
votes
2 answers

How to use environment variables in supervisord commands

How can I use an environment variable in a supervisord command? I tried: flower --broker=$MYVAR but it doesn't work (variable is not expanded), so I tried using an inline python script: command=python -c "import os;os.system('flower…
daveoncode
  • 18,900
  • 15
  • 104
  • 159
16
votes
2 answers

Celery Flower as Daemon

Im running celery with a redis backend. I want to run celery flower as a daemon on centos 6.2. I understand flower is a Tornado application , so I should use a process to run a tornado application as a deamon. Normally to start flower I use this…
CraigH
  • 2,041
  • 3
  • 30
  • 48
13
votes
4 answers

Django: How can I access celery flower page in production mode?

In development mode(local), it is really easy to access flower page (http://localhost:5555) But in production mode, it is difficult to access flower page. I'd like to access flower dashboard page with this…
user3595632
  • 5,380
  • 10
  • 55
  • 111
13
votes
1 answer

How to visualize online workers properly and remove offline workers from Flower?

We are using Flower to visualize tasks and workers in Celery. The problem is that we use Amazon autoscaling to spawn new workers. Hence, old workers terminate one day and new workers are spawned the next day and they register themselves as new…
web_ninja
  • 2,351
  • 3
  • 22
  • 43
12
votes
2 answers

Flower doesn't display all workers for celery

I am running celery on two servers with one redis as a broker. Celery start command looks like following: celery multi start 2 -A app_name Flower start command: celery flower -A app_name --address=10.41.31.210 --port=5555 In flower's output there…
Samriang
  • 403
  • 6
  • 18
12
votes
2 answers

How to configure Celery to send email alerts when tasks fail?

How is it possible to configure celery to send email alerts when tasks are failing? For example I want Celery to notify me when more than 3 tasks fail or more than 10 tasks are being retried. Is it possible using celery or a utility (e.g. flower) or…
Ali
  • 931
  • 10
  • 22
9
votes
2 answers

Celery and Flower: nothing in broker tab

I'm trying to configure Flower, Celery's monitoring tool. This works ok overall, but I cannot see anything under the broker tab. I can see stuff under "workers", 'tasks' and 'monitor' and the graphs are updating. I'm using the following to start…
wiwa1978
  • 2,317
  • 3
  • 31
  • 67
8
votes
2 answers

Docker – "flower": executable file not found in $PATH: unknown

I'm trying to build a Docker file. It goes all well up until the end, when I get the error message: ERROR: for flower Cannot start service flower: OCI runtime create failed: container_linux.go:380: starting container process caused: exec:…
MaxMirandola
  • 95
  • 1
  • 4
8
votes
1 answer

Running Flower using Supervisor

Am having challanges starting flower using supervisor. The following command in my development environment works on the console celery --app=celery_conf.celeryapp flower --conf=flowerconfig but moving to production to use supervisor am getting all…
lukik
  • 3,919
  • 6
  • 46
  • 89
1
2 3
13 14