-
Notifications
You must be signed in to change notification settings - Fork 81
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
Exception while fetching queue length #143
Comments
Can you revert to an earlier release (probably one without queue length metrics) while I have a look at this? cc @homholueng |
redis "removes" the queue when it's empty, that would explain NOT_FOUND - no queue |
@derom Figure you could resolve this in a PR? |
@danihodovic I'll try |
@abellotti See if danihodovic/celery-exporter:0.5.3 resolves your issue. It worked for my Django project @ https://django.wtf |
Hi @danihodovic the 0.5.3 and latest 0.4.1 tagged release does resolve the issue (no exception being logged), however, the queue lengths are always 0.0, even though I'm creating hundreds of async tasks. |
Hi @abellotti Could you stop celery workers for a few minutes and see if it shows that queues are growing? |
It's working for me with 0.5.3
|
Creating this issue so I don't lose track of it.
I was giving the latest 0.4.0 build a try as we could use the new celery_queue_length metrics. However, for our use, I'm getting an exception for each of the queues we have and those counters are staying at 0.
Our usage is:
In the output, we get an error like the following for each queue:
Quickly looking at the new code, the logged exception is coming from here:
celery-exporter/src/exporter.py
Line 127 in 8f63ad9
Temporarily updating to a logger.info quiets down the error, but still a caught exception and setting counters to 0.
We've been running celery-exporter without any issues since May.
The text was updated successfully, but these errors were encountered: