Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics: fix collecting hugetlb statistics from cgroup v1
- Hugetlb statistics collector matched both usage and (later added) reservation accounting files (*.rsvd.*). When both were present, the collector tried to create duplicate metrics entries: usage and reservation values got the same name and labels. - This patch ignores *.rsvd.* files when collecting statistics in order to keep reporting exactly what was reported before them. - Fixes error "cgroup_hugetlb_usage... collected before with the same name and label values" error in cri-resmgr output. - Fixes issue intel#859.
- Loading branch information