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

switch to process.getActiveResourcesInfo() in node v16.14.0+ #2568

Open
trentm opened this issue Feb 9, 2022 · 0 comments
Open

switch to process.getActiveResourcesInfo() in node v16.14.0+ #2568

trentm opened this issue Feb 9, 2022 · 0 comments
Labels
agent-nodejs Make available for APM Agents project planning.

Comments

@trentm
Copy link
Member

trentm commented Feb 9, 2022

Node v16.14.0 includes process.getActiveResourcesInfo() (docs, PR) as a public alternative to process._getActiveHandles() and process._getActiveRequests(). We use the latter two in "lib/metrics/runtime.js". We should use the blessed new one when able.

@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning.
Projects
None yet
Development

No branches or pull requests

1 participant