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

Monitor information do not getting correctly in docker container #36

Open
JohnPekl opened this issue Nov 7, 2017 · 1 comment
Open

Comments

@JohnPekl
Copy link

JohnPekl commented Nov 7, 2017

I have run your module inside docker container, the collected information, such as CPU, Memory, is measurement data of real computer which the docker container is running on.

How can I get real CPU usage, Memory state as mentioned at the following link?

https://docs.docker.com/engine/reference/commandline/stats/

@lorenwest
Copy link
Owner

You would write a probe that execs the stats command from within nodejs, and gets the value from stdout.

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

No branches or pull requests

2 participants