Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pending jobs to queue stats #168

Open
tlvenn opened this issue Jul 2, 2018 · 2 comments
Open

Add pending jobs to queue stats #168

tlvenn opened this issue Jul 2, 2018 · 2 comments
Labels

Comments

@tlvenn
Copy link
Contributor

tlvenn commented Jul 2, 2018

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.

@edgurgel
Copy link
Owner

edgurgel commented Jul 2, 2018

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
Copy link
Owner

edgurgel commented Jul 2, 2018

Maybe I should rename it to "RunningQueueStats" ? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants