-
Notifications
You must be signed in to change notification settings - Fork 41
Add heap stats logging to Service #1238
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
Add heap stats logging to Service #1238
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding another tool to our troubleshooting toolkit!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the detailed documentation!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the Copyright change a suggestion so we can get this merged.
Description
It would be useful to gain insight into memory usage in helping to debug runtime issues.
Work Done
v8npm package to gather heap usage statisticsLOG_NODE_HEAPSTATStrueorfalse(case insensitive) to enable the heap stats loggingLOG_NODE_HEAPSTATS_INTERVAL_MSnumber(inmilliseconds) representing the interval to log heap stats at<type>.env.jsonfiles to add new env vars for visibilityconfig.jsto look for new env var values