Monitoring is where RQ shines.
The easiest way is probably to use the RQ dashboard, a separately distributed tool, which is a lightweight webbased monitor frontend for RQ, which looks like this:
To install, just do:
It can also be integrated easily in your Flask app.
To see what queues exist and what workers are active, just type
You can also query for a subset of queues, if you’re looking for specific ones:
rq info prints the workers that are currently active, and the
queues that they are listening on, like this:
To see the same data, but organised by queue, use the
rq info will print stats and exit.
You can specify a poll interval, by using the
rq info will now update the screen every second. You may specify a float
value to indicate fractions of seconds. Be aware that low interval values will
increase the load on Redis, of course.