Skip to main content


RQ Monitor

RQ Monitor is Flask based more actionable and dynamic web frontend for monitoring your RQ.

GitHub PyPI PyPI - Python Version GitHub issues GitHub pull requests Travis (.org) Docker Image Size (latest by date)

Key FeaturesInstallDockerUsageCreditsContributeSimilar ToolLicense

screenshot

Key Features

  • Redis RQ Memory Monitoring - Implemented through Lua Scripting
    • Possibly RQ is not the only work your redis is doing and you want to keep a close eye on memory consumption of RQ namespace. Be little careful while executing it on production environment with large data as script may block your redis for some time.
  • Send Signals to remote workers
    • Using rqmonitor you can suspend/resume/delete your workers for debugging purposes which can be located on same instance running rqmonitor or some other instance in your network.
    • rqmonitor internally uses fabric for sending commands to remote workers.
    • Make sure the instance running rqmonitor have proper access to other instances running rq workers which can be achieved by properly configuring ssh, so make sure appropriate entries are added inside ssh_config.
  • All data population through DataTables:
    • Queues and Workers dashboard are rendered by client side DataTables so you get additional functionality of sorting, searching, robust pagination.
    • Jobs dashboard is rendered with server side option enabled of DataTables for easy loading of very large number of jobs.(Ajax Pipeling also planned in future)
  • More Ajax Less Reloading
    • Once after firing up the dashboard, little to no refresh is necessary, almost every refresh is done via ajax.
  • Jobs Filtering Support
    • You can choose to view a set of jobs from certain queue with certain status.
  • Global Actions
    • You can easily delete/empty multiple queues, jobs and suspend/resume workers.
  • Last but not the least is beautiful UI
  • More features coming!

Install

  1. Install rqmonitor with pip
    • $ pip install rqmonitor
  2. For Docker check below.

Docker

You love docker, don't you ?

Pull rqmonitor latest docker image from dockerhub

docker pull pranavgupta1234/rqmonitor
docker run -p 8899:8899 pranavgupta1234/rqmonitor

The above command will successfully run the flask app but your redis is probably on your docker host then provide your docker host private IP for redis url via env, like:

docker run --env RQ_MONITOR_REDIS_URL=redis://<your-private-ip>:6379 -p 8899:8899 pranavgupta1234/rqmonitor

Usage

CLI options are similar to that of rq-dashboard. Download latest version of rqmonitor from pypi and fire up your command line and type rqmonitor --help.

Usage: rqmonitor [OPTIONS]

  Run the RQ Monitor Flask server.

  All configuration can be set on the command line or through environment
  variables of the form RQ_MONITOR_*. For example RQ_MONITOR_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_MONITOR_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
  --refresh-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.

Credits

This software is majorly dependent on the following open source packages:

Contribute


  1. Clone repo and create a new branch: $ git checkout https://github.com/pranavgupta1234/rqmonitor -b name_for_new_branch.
  2. Make changes and test
  3. Submit Pull Request with comprehensive description of changes

Similar Tool

Some snippets in rqmonitor have been used from rq-dashboard.

License

Apache 2.0

Release files for rqmonitor 1.0.6

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

Source distribution (sdist)

Source distribution for rqmonitor 1.0.6
File Size Uploaded
rqmonitor-1.0.6.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for rqmonitor 1.0.6
File Interpreter ABI Platform
rqmonitor-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size:3.2 MB

Release files / rqmonitor-1.0.6.tar.gz

Download URL rqmonitor-1.0.6.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
739530db964f4c6fb0676a280539f5b385eaffbb1b7852c248e9f139bf231afe
BLAKE2b-256 checksum
How to use checksums
440849fc80f6992f31d7977d685f00299c1a089db2d85d0c1d811b095cd5df04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

Release files / rqmonitor-1.0.6-py3-none-any.whl

Download URL rqmonitor-1.0.6-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d996a97baa1336b0bcbfb7c70e14d5e72399911c342ea3207a3d33308e010be0
BLAKE2b-256 checksum
How to use checksums
cb23efbaf99d5d4833489e3531d30363ba1b7a42111cdecfbe6fe9d99c0af9d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

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