Skip to content

Threadpool monitoring / metrics #22957

Description

@davisjam

Is your feature request related to a problem? Please describe.

My (hypothetical) application uses the threadpool. Is the work performed in the threadpool the bottleneck for my application performance? This is hard to know at the moment.

Describe the solution you'd like

I would like API(s) to monitor the state of the threadpool.

Describe alternatives you've considered

Since the threadpool is currently embedded in libuv without monitoring hooks (but see libuv #1528), monitoring is not easy to do.

I think a monitoring API would be a logical thing to include within or following #22631.

I would like community input on what the API should look like and what metrics people would find valuable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.libuvIssues and PRs related to the libuv dependency or the uv binding.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions