-
Notifications
You must be signed in to change notification settings - Fork 308
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
Memory consumption not shown #1965
Comments
Interesting. There is probably some changes in Raspberry Pi's Docker implementation. I don't have mine handy right now so I can't reproduce. Do you know Go? Would you be able to help? I have a possible idea |
Unfortuntely not, I only know some Python. However I can try to look into it if you could point me in the right direction |
Actually, I think I am wrong. My thought was that https://github.com/amir20/dozzle/blob/master/docker/calculation.go doesn't work correctly. But it actually matches the official Docker CLI https://github.com/docker/cli/blob/master/cli/command/container/stats_helpers.go#L239-L249. So I am out of ideas. Possibly something else is broken. I am pretty sick so I won't be able to look at this for a while. Perhaps you can investigate a little by adding logs. |
How do I get the logs? The issue template mentions Hope you get well soon! |
As it turns out 3am me isn't very good at reading stuff, I got the
As for browser, there were the following errors:
|
I don't see anything wrong with logs either. But if you look at the code, that part doesn't log any debug values. This bug is mostly in go because that's where it is read from docker api. |
This might be your issue. Can you confirm? |
This did the trick. Seems like it's an issue specific to arm64 devices. What I did was simply to add Thanks @amir20 for the quick help! |
Great! If you have some time please send a PR for the readme. There is a FAQ section that could be a good spot for this. |
Describe the bug
Memory consumption is not shown, both in home and individual container pages, but CPU usage is shown correctly. I used the docker compose template provided.
Expected behavior
Memory consumption shown correctly in both home and individual container pages
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: