google / cadvisor

Analyzes resource usage and performance characteristics of running containers.
Other
16.61k stars 2.29k forks source link

container_fs_inodes_free shows constant zero for docker containers with storage-driver overlay2 #3534

Open janhorstmann opened 1 month ago

janhorstmann commented 1 month ago

Hi, when monitoring container disks with cadvisor v0.49.1 on a docker host with

"storage-driver": "overlay2"

the metric container_fs_inodes_free shows 0 constantly.

From what I have gathered from the code it should count the number of files to calculate this metric, but this does not seem be the case.

Can anybody confirm that this is a supported feature or should I disable disk metrics for this setup?