-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: Add Disk Metrics #9344
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
feat: Add Disk Metrics #9344
Conversation
|
Hi @R3hankhan123. 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. |
7ba0ec1 to
9df95df
Compare
|
Thanks @R3hankhan123 . Can you add e2e tests in test/cri-metrics.bats? |
9df95df to
2a81e7d
Compare
Done @bitoku |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #9344 +/- ##
==========================================
- Coverage 64.19% 64.19% -0.01%
==========================================
Files 203 205 +2
Lines 28259 28357 +98
==========================================
+ Hits 18142 18204 +62
- Misses 8524 8553 +29
- Partials 1593 1600 +7 🚀 New features to boost your workflow:
|
2a81e7d to
bf0ebff
Compare
|
/ok-to-test |
bf0ebff to
0bd729d
Compare
|
@bitoku can you help me debug the prow tests, i see that container is being exited but can't find the reason why exactly its exiting |
|
@R3hankhan123 I think other e2e tests come from infra issues, not because of this change. |
|
@bitoku , looks like port 9090 is being used when trying to run disk metrics but its already in use, should i kill the process that is using the port (ie memory metrics crio) wdyt |
|
@R3hankhan123 You can use Lines 17 to 20 in 7c127d3
|
|
/retest |
Signed-off-by: Rehan Khan <[email protected]>
Signed-off-by: Rehan Khan <[email protected]>
Signed-off-by: Rehan Khan <[email protected]>
b61ca1b to
b3b229f
Compare
|
/approve @cri-o/cri-o-maintainers PTAL |
b3b229f to
d9da506
Compare
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.
Code LGTM, but please fix the linting and space-at-eol CI.
d9da506 to
67a088c
Compare
|
@R3hankhan123: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
Done @saschagrunert , can you re trigger those pipelines, thank you |
|
/retest |
67a088c to
33c0d9b
Compare
33c0d9b to
1d8f64b
Compare
Signed-off-by: Rehan Khan <[email protected]>
1d8f64b to
2d66de3
Compare
|
Hi @saschagrunert i see that you have wrote but i cant find it, so writing it here, we cannot re-use wait_for_metric.Then call |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, R3hankhan123, saschagrunert 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR implements the previously missing disk metrics:
container_fs_inodes_freecontainer_fs_inodes_totalcontainer_fs_limit_bytescontainer_fs_usage_bytesWhich issue(s) this PR fixes:
contributes towards #9125
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?
No