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

Add memory and CPU stats #8

Closed
sv2 opened this issue Jul 21, 2017 · 1 comment
Closed

Add memory and CPU stats #8

sv2 opened this issue Jul 21, 2017 · 1 comment
Assignees

Comments

@sv2
Copy link
Collaborator

sv2 commented Jul 21, 2017

No description provided.

@sv2 sv2 self-assigned this Jul 21, 2017
@sv2
Copy link
Collaborator Author

sv2 commented Aug 2, 2017

System stats added:

"sys": { "rss": 59768832, "heapTotal": 36700160, "heapUsed": 20081776, "external": 5291923, "cpu": 0 },

top level sys stats provide current cpu and memory usage.
Timeline buckets now include sys stats as well, providing average cpu and memory usage on bucket's time interval.
Using data as provided by process.cpuUsage() and process.memoryUsage()
CPU % calculated based on
nodejs/node#6157

@sv2 sv2 closed this as completed Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant