Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: fix collecting hugetlb statistics from cgroup v1 #968

Merged
merged 1 commit into from Feb 20, 2023

Commits on Dec 23, 2022

  1. 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.
    askervin committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    b9e381c View commit details
    Browse the repository at this point in the history