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

sample number of active handles and requests and send to custom metrics #1168

Merged
merged 1 commit into from
Jul 11, 2018
Merged

sample number of active handles and requests and send to custom metrics #1168

merged 1 commit into from
Jul 11, 2018

Conversation

izakp
Copy link
Contributor

@izakp izakp commented Jul 11, 2018

Folks say that you should watch node's process._getActiveHandles() and process._getActiveRequests() as this can give an indication of "pending work" queued throughout the event loop's internal phases.

@izakp izakp requested a review from mbilokonsky July 11, 2018 16:48
@alloy
Copy link
Contributor

alloy commented Jul 11, 2018

Very interesting!

@alloy alloy merged commit 224b52b into artsy:master Jul 11, 2018
@RaisinTen
Copy link
Contributor

FYI, these APIs have been doc-deprecated and there's a new API, so I have sent a PR to use that instead - #4664

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

Successfully merging this pull request may close these issues.

3 participants