-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Prometheus memory usage for containers is always 0 #228
Comments
Is your cadvisor container running? |
Indeed that's what I did, easily replaced it with: I don't know all these tools enough, is cadvisor actually the tool that gets the raw container memory data? If yes I would look deeper into that specific arm-image. |
Yes it is I would try run this query in Prometheus directly to see what shows up: |
This is the result:
|
That's the same query that's being run so you should definitely be seeing results in Grafana. |
@airbone42 Not sure if you have the same problem, but the new default on Raspbian is to not report out the memory. The |
Other thing to make sure is that you're not running the SNAP version of Docker, this seems to also cause issues. |
Did you manage to resolve this @airbone42? |
Closing due to inactivity if you're still having this issue please let me know and I'll reopen the issue. |
I just set up the default system using docker-compose.
Unfortunately, in Grafana is see all metric except of the Container Memory Usage and Cached Container Memory Usage.
Unfortunately already when I search in Prometheus for memory, all values are 0.
I'm using a PI4, probably the issue is related to that. Did anyone have similar issues and has an idea how to fix it or what would be the next step to look into, when Prometheus has the wrong/no values?
The text was updated successfully, but these errors were encountered: