-
Notifications
You must be signed in to change notification settings - Fork 27
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
Not displaying memory of containers #31
Comments
Hi @mbseid, Please ssh into the manager (
The above log will contain your services' name & image. If you don't want to send those, use these commands instead:
|
In my case I use PATH_PREFIX=/swarm-visualizer and I get
|
@trajano |
cadvisor doesn't have an ARM build at least not the latest tag hetznercloud/apps#98 |
So are you saying cadvisor has to be exposed to the Internet? Oh wait no it doesn't but there's no |
No! Swarm Dashboard reads conatiners' metrics from /metrics exposed locally by cadvisor.
Some images have curl installed (mine does). If it's not, we can install it with Anyway, mbseid encuntered some issue with memory usage report, and that's why I asked if he could send some logs to better investigate the issue. |
@mohsenasm Thanks for the fast response. I'm new to docker swarm, so I couldn't figure out how what the right ID from the docker service ps command. I SSHed into the the machine and got this from the response. Sorry for the SUPER long logs, it's unfiltered grep on cadvisor.
|
Thanks @mbseid. Please use the newest version of cadvisor in your image: gcr.io/cadvisor/cadvisor:v0.47.2 If updating the image tag didn't solve the issue, please send some info about your environment:
|
Hi @mbseid, for Version v0.47.2 as well as for the newest v0.49.1 exists architecture specific images. Have a look: https://github.com/google/cadvisor/releases/tag/v0.47.2 or https://github.com/google/cadvisor/releases/tag/v0.49.1 Sorry, commented on the wrong issue, but maybe it helps you? |
First, great project. Thank you!
I set up the dashboard on a new swarm cluster and it's not showing the memory usage. CPU usage is being captured. Picture attached:
I checked the websocket information and it's sending 0 on the wire. It may not be collecting it properly.
Additional context:
There is a two node cluster. It's running a few levels of virtualization (which shouldn't be the cause). Proxmox => Ubuntu => Docker Swarm
Thanks for the help!
The text was updated successfully, but these errors were encountered: