Package: rq-dashboard
Introductionrq-dashboardis a general purpose, lightweight,Flask-based web front-end to monitor yourRQqueues, jobs, and workers in realtime.Maturity notesThe RQ dashboard is currently being developed and is in beta stage.
How migrate to version 1.0 you can findhereYou can find help  in the discussion page ingithubor join ourdiscord serverInstalling with DockerYou can also run the dashboard inside of docker:copy thedocker-compose.ymlfile from the root of the repository todocker-compose.override.ymland change the environment variables to your liking.run the following command:$ docker-compose upYou can also find the official image on cjlapao/rq-dashboard:latestInstalling from PyPI$ pip install rq-dashboardRunning the dashboardRun 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
  -j, --json                      Use JSONSerializer
  --debug / --normal              Enter DEBUG mode
  -v, --verbose                   Enable verbose logging
  --help                          Show this message and exit.Integrating the dashboard in your Flask appThe dashboard can be integrated in to your ownFlaskapp 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)
rq_dashboard.web.setup_rq_connection(app)
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 athttp://localhost:5000/rq. Thecli.py:mainentry point
provides a simple working example.Running on HerokuConsider using third-party projectrq-dashboard-on-heroku,
which installs rq-dashboard from PyPI and wraps in inGunicornfor deployment to Heroku.
rq-dashboard-on-heroku is maintained indepdently.Running behind a Reverse ProxyYou can run the dashboard as asystemdservice in Linux or via asuprevisorscript and then use Apache or NGINX to direct traffic to the dashboard.This is fornon-productionfunctionality!Apache Reverse Proxy example:ProxyPass /rq http://127.0.0.1:5001/rq
ProxyPassReverse /rq http://127.0.0.1:5001/rqSystemd service example:[Unit]
Description=Redis Queue Dashboard
[Install]

WantedBy=multi-user.target
[Service]
ExecStart=/bin/rq-dashboard -b 127.0.0.1 -p 5001 --url-prefix /rq -c rq_settings_dashboard --debug -v
StandardOutput=file:/var/log/redis/rq-dasbhoard.log
StandardError=file:/var/log/redis/rq-dashboard.log
User=redis-dash
Group=redis-dash
RemainAfterExit=yes
Type=simple
PermissionsStartOnly=false
PrivateTmp=no--debug,-vare optional -- they will writestdoutto your specified files.rq_settings_dashboardis a Python file, with settings defined. You can use options that are available as environmental variables. (EX.RQ_DASHBOARD_REDIS_PASSWORD = password)DevelopingDevelop in a virtualenv and make sure you have all the necessary build
time (and run time) dependencies with$ pip install -r requirements.txtDevelop in the normal way with$ python setup.py developStatsPyPI statsGithub stats