verk icon indicating copy to clipboard operation
verk copied to clipboard

Add pending jobs to queue stats

Open tlvenn opened this issue 7 years ago • 2 comments

Would it be possible / easy enough to add the number of pending jobs to the queue stats ? Right now it does not seem possible to compute this at all using the API.

tlvenn avatar Jul 02 '18 05:07 tlvenn

QueueStats are current stats about the running queues. For the data sitting inside Redis we usually use the Queue API. Verk Web has most of the data available: https://github.com/edgurgel/verk_web

https://github.com/edgurgel/verk_web/blob/master/web/views/queues_view.ex#L4-L9

edgurgel avatar Jul 02 '18 22:07 edgurgel

Maybe I should rename it to "RunningQueueStats" ? 🤔

edgurgel avatar Jul 02 '18 22:07 edgurgel