You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, trying to understand the rule for ContainerVolumeUsage:
This always is zero, which causes the calculation to always be 100
sum by (instance) (container_fs_inodes_free{name!=""}) = 0
sum by (instance) (container_fs_inodes_total) = 95469464
1 - (sum by (instance) (container_fs_inodes_free{name!=""}) / sum by (instance) (container_fs_inodes_total)) = 1
(1 - (sum by (instance) (container_fs_inodes_free{name!=""}) / sum by (instance) (container_fs_inodes_total))) * 100 > 80 = 100
(1 - 0 / 95469464) * 100 = 100
At least in my environment (docker) it seems not working due to reported container_fs_inodes_free to be 0 for every container.
I suspect the alarm is fine but something with cadvisor or working as designed?
Looking for feedback, disabling for now
The text was updated successfully, but these errors were encountered:
Are you using btrfs on the docker host? btrfs has no fixed inode limit at all, and that's why it reports inodes as all zeroes, so the alert is triggered.
Hi, trying to understand the rule for ContainerVolumeUsage:
This always is zero, which causes the calculation to always be 100
sum by (instance) (container_fs_inodes_free{name!=""}) = 0
sum by (instance) (container_fs_inodes_total) = 95469464
1 - (sum by (instance) (container_fs_inodes_free{name!=""}) / sum by (instance) (container_fs_inodes_total)) = 1
(1 - (sum by (instance) (container_fs_inodes_free{name!=""}) / sum by (instance) (container_fs_inodes_total))) * 100 > 80 = 100
(1 - 0 / 95469464) * 100 = 100
At least in my environment (docker) it seems not working due to reported container_fs_inodes_free to be 0 for every container.
I suspect the alarm is fine but something with cadvisor or working as designed?
Looking for feedback, disabling for now
The text was updated successfully, but these errors were encountered: