-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement HugeTLB metrics #9257
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
Implement HugeTLB metrics #9257
Conversation
Hi @gavinkflam. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9257 +/- ##
==========================================
+ Coverage 66.81% 66.93% +0.11%
==========================================
Files 199 200 +1
Lines 27469 27613 +144
==========================================
+ Hits 18353 18482 +129
- Misses 7585 7608 +23
+ Partials 1531 1523 -8 🚀 New features to boost your workflow:
|
658816a
to
51ea0cf
Compare
@sohankunkerkar I have fixed the freebsd build. Could you please approve the workflows again? |
@gavinkflam Thanks for the PR. Could you write an integration test for this? You can find more details under https://github.com/cri-o/cri-o/tree/main/test |
/ok-to-test |
51ea0cf
to
3ec8159
Compare
Thanks @sohankunkerkar! I wrote an integration test and fixed some issues. A bug from upstream is preventing us from getting cgroup v2 HugeTLB stats. Once my pull request is accepted by upstream, I will update the go.mod version. |
3ec8159
to
0033f5e
Compare
@gavinkflam Can you fix the vendor by running |
Thanks @bitoku. I'm still waiting for upstream to merge my PR opencontainers/cgroups#24. There is a bug that prevents us from getting cgroup v2 HugeTLB stats. Once that is merged, I will update go.mod and run make vendor. |
0033f5e
to
cf1c61b
Compare
@bitoku This is updated. Thank you for the feedbacks. |
/lgtm |
/release-note-edit
|
/skip |
@cri-o/cri-o-maintainers PTAL |
Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
42a7530
to
7c8e7ef
Compare
I've improved the tests to avoid potential flakiness around the sleeps. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cri-o/cri-o-maintainers PTAL
/retest |
/override ci/prow/ci-e2e-evented-pleg |
@haircommander: Overrode contexts on behalf of haircommander: ci/prow/ci-e2e-evented-pleg In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@bitoku Can I get another lgtm please? The previous one is gone because of the last commit. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gavinkflam, saschagrunert, sohankunkerkar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Implement HugeTLB metrics Signed-off-by: Rehan Khan <Rehan.Khan7@ibm.com>
What type of PR is this?
/kind feature
What this PR does / why we need it:
CRI-O is not reporting HugeTLB metrics.
Which issue(s) this PR fixes:
Part of #9125
Special notes for your reviewer:
Does this PR introduce a user-facing change?