Skip to content

Exposing queue/task size metrics #553

@ManojBhamsagar-Draup

Description

@ManojBhamsagar-Draup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions