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

Queue length metrics ? #25

Open
sokoow opened this issue Jul 20, 2020 · 1 comment
Open

Queue length metrics ? #25

sokoow opened this issue Jul 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@sokoow
Copy link

sokoow commented Jul 20, 2020

Hiya,

I'm just wondering how easy/hard would it be to implement number of tasks in a queue (to detect whether celery is choking for example) ? Let me know what would be potentially needed pls and if I'd be able to pull it together in a PR as a layman. Greets

@SharpEdgeMarshall
Copy link
Contributor

With redis is easy we could just query the queue length, but there is no easy way to do it that would be compatible with all supported brokers.
Another solution could be keeping a counter but that could easily go out of sync.

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

No branches or pull requests

2 participants