RQ Dashboard is a general-purpose, lightweight web interface designed to monitor your RQ (Redis Queue) queues, jobs, and workers in real-time. It provides an intuitive UI for inspecting job statuses, queue lengths, and worker activity. The library typically sees patch releases for minor bug fixes or dependency updates, maintaining a stable API.
pip install rq-dashboardVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to integrate the RQ Dashboard into a minimal Flask application. This allows you to serve the dashboard alongside your existing Flask routes. Alternatively, you can run the dashboard as a standalone application using the `rq-dashboard` command-line tool after setting the `REDIS_URL` environment variable.
Implement authentication/authorization using a reverse proxy (e.g., Nginx with Basic Auth), integrate with a Flask security extension (e.g., Flask-Login, Flask-Security-Too) if embedding, or restrict network access (e.g., firewall rules).
Set the `REDIS_URL` environment variable (e.g., `export REDIS_URL='redis://your_host:6379/1'`) before running `rq-dashboard` or configuring the Flask blueprint. Ensure Redis is running and accessible from the dashboard host.
Ensure `rq-dashboard` is updated to a recent version that is compatible with your `RQ` version. Check the `rq-dashboard` release notes or `setup.py` for specific `RQ` version requirements.
Upgrade your Python environment to Python 3.6 or newer.
Start your Redis server. Verify your `REDIS_URL` environment variable is correctly set (e.g., `export REDIS_URL='redis://your_redis_host:6379/0'`) or that Redis is running on the default `localhost:6379/0`.
Install the library using `pip install rq-dashboard`. If using a virtual environment, activate it (`source .venv/bin/activate` or `conda activate your_env`).
Activate your Python virtual environment (`source .venv/bin/activate`). If not using a virtual environment, ensure pip's script directory (e.g., `~/.local/bin`) is included in your system's PATH.
Ensure you have called `app.register_blueprint(blueprint, url_prefix="/rq")` (or your desired prefix) and are accessing the dashboard at the correct URL (e.g., `http://127.0.0.1:5000/rq`).