-
DescriptionWhile using the Glances service widget (Containers metric), I have noticed the reported memory usage for Docker containers does not match what Glances and Docker Stats show. While Glances and Docker stats match, the Homepage widget shows sometimes wildly different memory statistics. This does not appear to be a timing issue as the numbers are consistently incorrect. This screenshot, while cropped for size, was taken with all three windows on the screen at the same time. Note how several memory statistics on the widget are very far apart from Glances itself. This is a freshly built Ubuntu 24.04 with latest versions of everything. Any thoughts as to what I may be able to check? Thank you! homepage versionv0.10.9 (b5f4daa, Jan 6, 2025) Installation methodDocker ConfigurationBasic glances/containers services.yaml entry:
- Containers:
widget:
type: glances
url: http://IP:61208
version: 4 # required only if running glances v4 or higher, defaults to 3
metric: containers
refreshInterval: 5000 # optional - in milliseconds, defaults to 1000 or more, depending on the metric
pointsLimit: 15 # optional, defaults to 15 Container LogsNo response Browser LogsNo response TroubleshootingTroubleshooting steps do not appear relevant. Logs are not showing any errors relative to this issue. Homepage and Glances widget appear to otherwise work correctly. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
homepage barely does anything to the glances api output which returns the values in bytes, you can look for yourself in your browser and do the conversion:
|
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
FYI, turns out there is a bug here, #4844 will fix this |
Beta Was this translation helpful? Give feedback.
FYI, turns out there is a bug here,
inactive_file
should be subtracted from the usage for accurate display. Not sure how I missed that in the glances docs.#4844 will fix this