Skip to main content

Introduction

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

Build Status Python Support PyPI Downloads

Maturity notes

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

Installing with Docker

You can also run the dashboard inside of docker:

$ docker pull eoranged/rq-dashboard
$ docker run -p 9181:9181 eoranged/rq-dashboard

and you can then run the image. You can pass additional options using environment variables with prefix RQ_DASHBOARD_*:

- RQ_DASHBOARD_REDIS_URL=redis://<redis:6379>
- RQ_DASHBOARD_USERNAME=rq
- RQ_DASHBOARD_PASSWORD=password

See more info on how to pass environment variables in Docker documentation

Installing from PyPI

$ 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
Usage: rq-dashboard [OPTIONS]

  Run the RQ Dashboard Flask server.

  All configuration can be set on the command line or through environment
  variables of the form RQ_DASHBOARD_*. For example RQ_DASHBOARD_USERNAME.

  A subset of the configuration (the configuration parameters used by the
  underlying flask blueprint) can also be provided in a Python module
  referenced using --config, or with a .cfg file referenced by the
  RQ_DASHBOARD_SETTINGS environment variable.

Options:
  -b, --bind TEXT                 IP or hostname on which to bind HTTP server
  -p, --port INTEGER              Port on which to bind HTTP server
  --url-prefix TEXT               URL prefix e.g. for use behind a reverse
                                  proxy
  --username TEXT                 HTTP Basic Auth username (not used if not
                                  set)
  --password TEXT                 HTTP Basic Auth password
  -c, --config TEXT               Configuration file (Python module on search
                                  path)
  -u, --redis-url TEXT            Redis URL. Can be specified multiple times.
                                  Default: redis://127.0.0.1:6379
  --poll-interval, --interval INTEGER
                                  Refresh interval in ms
  --extra-path TEXT               Append specified directories to sys.path
  --debug / --normal              Enter DEBUG mode
  -v, --verbose                   Enable verbose logging
  --help                          Show this message and exit.

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, url_prefix="/rq")

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

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

If you start the Flask app on the default port, you can access the dashboard at http://localhost:5000/rq. The cli.py:main entry point provides a simple working example.

Running on Heroku

Consider using third-party project rq-dashboard-on-heroku, which installs rq-dashboard from PyPI and wraps in in Gunicorn for deployment to Heroku. rq-dashboard-on-heroku is maintained indepdently.

Developing

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

Stats

Metadata

Release files for rq-dashboard-compatible 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rq-dashboard-compatible 0.1
File Size Uploaded Provenance Actions
rq-dashboard-compatible-0.1.tar.gz 200.6 kB Without provenance Details for rq-dashboard-compatible-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rq-dashboard-compatible 0.1
File Interpreter ABI Platform Actions
rq_dashboard_compatible-0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for rq_dashboard_compatible-0.1-py2.py3-none-any.whl

Total release size: 407.9 kB

Release files / rq-dashboard-compatible-0.1.tar.gz

Download URL rq-dashboard-compatible-0.1.tar.gz
Size 200.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a98378ebb2b8f9b66a71b0a6cb4145d60899309cfc33e68e5ad0a3e8a6a1fbd9
BLAKE2b-256 checksum
How to use checksums
714c047000868d1f337046f5044119598bb29c5845ae51c1dec5b8055f94789e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / rq_dashboard_compatible-0.1-py2.py3-none-any.whl

Download URL rq_dashboard_compatible-0.1-py2.py3-none-any.whl
Size 207.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a638a30b6dc6772af9368ccc696f2cfe9c27ba3a894129f06cf4dab8c5f97385
BLAKE2b-256 checksum
How to use checksums
bc7ce486f9a3255402a9541f7507b338ae34dc4d80824f20b6765461d2d3560d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for rq-dashboard-compatible 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page