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

Exposing queue/task size metrics #553

Open
ManojBhamsagar-Draup opened this issue Jan 10, 2025 · 0 comments
Open

Exposing queue/task size metrics #553

ManojBhamsagar-Draup opened this issue Jan 10, 2025 · 0 comments

Comments

@ManojBhamsagar-Draup
Copy link

Hi, I'm are using puppeteer-cluster at large scale. Currently I'm facing issue in scaling the service. The load balancer routes requests to puppeteer service which is running puppeteer-cluster in a containerised environment. We already have the incoming requests info we can easily scale the service if we can get the current load. So if I can get the current number of tasks an instance is serving, I can use that factor in scaling the instances.

Since jobQueue is a private variable I can't access how many tasks are running at any given time.

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

1 participant