resque-brain icon indicating copy to clipboard operation
resque-brain copied to clipboard

Display Configured And Available Queues And Workers

Open simeonwillbanks opened this issue 10 years ago • 4 comments

Add view for configured and available queues and workers.

These additions will provide an overview of the current configuration.

The queues overview can display registered queues with number of working jobs.

The workers overview can display running workers and their registered queues.

Right now, it's only possible to see active processes (failed, running, and waiting jobs) and the schedule.

simeonwillbanks avatar May 01 '15 16:05 simeonwillbanks

ResqueInstance#running is an example of worker introspection, and it may be useful for the workers overview.

simeonwillbanks avatar May 01 '15 16:05 simeonwillbanks

The "running" view may be a good place for a consolidated workers and queues overview.

running

simeonwillbanks avatar May 01 '15 16:05 simeonwillbanks

Example queues and workers overview from resque-web.

e271i07

resque_workers

simeonwillbanks avatar May 01 '15 16:05 simeonwillbanks

Yeah, we could change "Running" to just "Workers" and either show 'em all like resque-web does, or sort the running ones at the top.

davetron5000 avatar May 01 '15 16:05 davetron5000