-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Hi, I've found that the percpu_usage stats can sometimes be Null, similar to #29.
Commenting out the CpuStats class (and removing it from CLASSES) fixes the issue (though, obviously, I no longer get CPU stats from containers). When I query the stats API directly, I'm seeing null in the percpu_usage:
"cpu_stats": {
"cpu_usage": {
"total_usage": 0,
"percpu_usage": null,
"usage_in_kernelmode": 0,
"usage_in_usermode": 0
},
Which I think is resulting in the NoneType errors that I'm seeing. I'm not much of a Python programmer... but I'm willing to try and help fix this if someone can point me at the line in the CPUStats class that needs fixing :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels