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

Getting number of Enqueued jobs in log file? #55

Open
andrewinHK opened this issue Jun 9, 2021 · 2 comments
Open

Getting number of Enqueued jobs in log file? #55

andrewinHK opened this issue Jun 9, 2021 · 2 comments

Comments

@andrewinHK
Copy link

Is there any to get the number of jobs that are in the Enqueued status? I know it can be done from the /info endpoint but can it be added to the log so it can be scraped? Any other suggestions?

Thanks

@mperham
Copy link
Contributor

mperham commented Jun 9, 2021

That’s not something a worker process should be logging. If you have 20 worker processes, that means 20 calculations and log lines. The enqueued number should be available as a Statsd metric.

@andrewinHK
Copy link
Author

andrewinHK commented Jun 10, 2021 via email

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