Open tlvenn opened 6 years ago
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
Maybe I should rename it to "RunningQueueStats" ? 🤔
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.