Describe the bug
The docker containers widget reports each container's lifetime-average CPU usage instead of its current CPU usage. The widget claims "updated a minute ago" — which is true of the sample time, but the value sampled is cumulative, not instantaneous.
I believe this was working correctly before PR #4266. That broke cpu stats and PR #4311 changed it to lifetime CPU rather than instantaneous.
Steps to reproduce
Start a container and create a high CPU load. Stop the load and watch the widget. The CPU usage will stay high.
Impact
Makes the CPU usage in the docker container less useful.
Additional information
No response
Version
1.59.2
Installation method
Docker Compose
Browser
Chrome
Describe the bug
The docker containers widget reports each container's lifetime-average CPU usage instead of its current CPU usage. The widget claims "updated a minute ago" — which is true of the sample time, but the value sampled is cumulative, not instantaneous.
I believe this was working correctly before PR #4266. That broke cpu stats and PR #4311 changed it to lifetime CPU rather than instantaneous.
Steps to reproduce
Start a container and create a high CPU load. Stop the load and watch the widget. The CPU usage will stay high.
Impact
Makes the CPU usage in the docker container less useful.
Additional information
No response
Version
1.59.2
Installation method
Docker Compose
Browser
Chrome