kubewharf / katalyst-core

Katalyst aims to provide a universal solution to help improve resource utilization and optimize the overall costs in the cloud. This is the core components in Katalyst system, including multiple agents and centralized components
Apache License 2.0
388 stars 91 forks source link

fix: ignore not existed cgroup paths #585

Closed cheney-lin closed 1 month ago

cheney-lin commented 1 month ago

What type of PR is this?

Bug fixes

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 56.25000% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 56.07%. Comparing base (74b648c) to head (b239a01). Report is 1 commits behind head on main.

Files Patch % Lines
.../agent/metric/provisioner/malachite/provisioner.go 66.66% 4 Missing :warning:
cmd/katalyst-agent/app/options/global/base.go 25.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #585 +/- ## ========================================== + Coverage 56.06% 56.07% +0.01% ========================================== Files 534 535 +1 Lines 49807 49829 +22 ========================================== + Hits 27924 27944 +20 Misses 18325 18325 - Partials 3558 3560 +2 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/585/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/585/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.07% <56.25%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.