Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

rq-dashboard is a general purpose, lightweight, web interface to monitor your RQ queues, jobs, and workers in realtime.

Project Description

rq-dashboard is a general purpose, lightweight, Flask-based web front-end to monitor your RQ queues, jobs, and workers in realtime.

It looks like this

Installing

$ pip install rq-dashboard

Running the dashboard

Run the dashboard standalone, like this:

$ rq-dashboard
* Running on http://127.0.0.1:9181/
...
$ rq-dashboard --help
RQ Dashboard version 0.3.5
Usage: rq-dashboard [options]

Options:
  -h, --help            show this help message and exit
  -b ADDR, --bind=ADDR  IP addr or hostname to bind to
  -p PORT, --port=PORT  port to bind to
  --url-prefix=URL_PREFIX
                        url prefix e.g. for hosting behind reverse proxy
  --username=USERNAME   HTTP Basic Auth username
  --password=PASSWORD   HTTP Basic Auth password
  -c CONFIG_FILE, --config=CONFIG_FILE
                        configuration file
  -H ADDR, --redis-host=ADDR
                        IP addr or hostname of Redis server
  -P REDIS_PORT, --redis-port=REDIS_PORT
                        port of Redis server
  --redis-password=PASSWORD
                        password for Redis server
  -D DB, --redis-database=DB
                        database of Redis server
  -u REDIS_URL, --redis_url=REDIS_URL
                        redis url connection
  --interval=POLL_INTERVAL
                        refresh interval in ms

Integrating the dashboard in your Flask app

The dashboard can be integrated in to your own Flask app by accessing the blueprint directly in the normal way, e.g.:

from flask import Flask
import rq_dashboard

app = Flask(__name__)
app.config.from_object(rq_dashboard.default_settings)
app.register_blueprint(rq_dashboard.blueprint.blueprint)

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == "__main__":
    app.run()

The scripts/rq_dashboard.py:main entry point provides a simple working example.

Developing

We use piptools to keep our development dependencies up to date

$ pip install --upgrade pip
$ pip install git+https://github.com/nvie/pip-tools.git@future

Now make changes to the requirements.in file, and resolve all the 2nd-level dependencies into requirements.txt like so:

$ pip-compile --annotate requirements.in

Develop in a virtualenv and make sure you have all the necessary build time (and run time) dependencies with

$ pip install -r requirements.txt

Develop in the normal way with

$ python setup.py develop

Then use Fabric to perform various development tasks. For example, to tag, build and upload to testpypi

$ git tag 0.3.5   # no 'v' prefix or anything
$ fab build
$ fab upload

This requires write access to both the GitHub repo and to the PyPI test site.

See fab -l for more options and fab -d <subcommand> for details.

Maturity notes

The RQ dashboard is currently being developed and is in beta stage.

Release History

Release History

This version
History Node

0.3.5

History Node

0.3.5a1

History Node

0.3.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rq_dashboard-0.3.5-py2.py3-none-any.whl (98.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jun 6, 2015
rq-dashboard-0.3.5.tar.gz (92.9 kB) Copy SHA256 Checksum SHA256 Source Jun 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting