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

(monitoring) How to check if consumers are working well? #769

Open
zhenqianz opened this issue Jun 6, 2022 · 1 comment
Open

(monitoring) How to check if consumers are working well? #769

zhenqianz opened this issue Jun 6, 2022 · 1 comment

Comments

@zhenqianz
Copy link

I used Machinery for quite some time now, and I almost have no problem. However one day the consumers stopped consuming. I used Redis as the broker and it was running okay. The problem was fixed after I restarted the service. And it did well for a couple of months.

Then, one day, my service did break again, and the tasks were not consumed again by the consumer. It was also fixed by restarting the service.

The question is, how to check if the consumer is working well? Could I get info on how many tasks are in the queue? (excluding the health-check task and periodic task). Or is there any way I can monitor the consumers?

Is there anyone with the same concern?

NB.
Currently, I made a periodic task to log something, and I check if there were no logs for some time, I would send an alert. I know this is not a good way if you are having too many services, therefore I create this issue to know the proper way to achieve that.

@oz-world
Copy link

mark

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

No branches or pull requests

2 participants