码迷,mamicode.com
首页 > Web开发 > 详细

并行处理框架Celery的Web监控管理服务-Flower

时间:2015-05-28 12:44:25      阅读:275      评论:0      收藏:0      [点我收藏+]

标签:

Flower: Real-time Celery web-monitor

Flower is a real-time web based monitor and administration tool for Celery. It is under active development, but is already an essential tool. 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

    • Task progress and history.

    • Ability to show task details (arguments, start time, runtime, and more)

    • Graphs and statistics

  • Remote Control

    • View worker status and statistics.

    • Shutdown and restart worker instances.

    • Control worker pool size and autoscale settings.

    • View and modify the queues a worker instance consumes from.

    • View currently running tasks

    • View scheduled tasks (ETA/countdown)

    • View reserved and revoked tasks

    • Apply time and rate limits

    • Configuration viewer

    • Revoke or terminate tasks

  • HTTP API

  • OpenID authentication

Screenshots

技术分享

技术分享

More screenshots:

Usage

You can use pip to install Flower:

$ pip install flower

Running the flower command will start a web-server that you can visit:

$ celery -A proj flower

The default port is http://localhost:5555, but you can change this using the–portargument:

$ celery -A proj flower --port=5555

Broker URL can also be passed through the–brokerargument :

$ celery flower --broker=amqp://guest:guest@localhost:5672//
or$ celery flower --broker=redis://guest:guest@localhost:6379/0

Then, you can visit flower in your web browser :

$ open http://localhost:5555


并行处理框架Celery的Web监控管理服务-Flower

标签:

原文地址:http://my.oschina.net/u/2306127/blog/420929

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!