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
389 stars 91 forks source link

feat(qrm): 1. refine timemonitor until 2. fallback when cpu advisor is unhealthy #611

Closed csfldf closed 3 weeks ago

csfldf commented 4 weeks ago

feat(qrm): 1. refine timemonitor until 2. fallback when cpu advisor is unhealthy

codecov[bot] commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 58.66667% with 31 lines in your changes missing coverage. Please review.

Project coverage is 56.20%. Comparing base (8c5f5f2) to head (8006905). Report is 1 commits behind head on main.

Files Patch % Lines
pkg/agent/qrm-plugins/cpu/dynamicpolicy/policy.go 0.00% 7 Missing :warning:
pkg/util/timemonitor/time_monitor.go 85.71% 4 Missing and 3 partials :warning:
...g/agent/qrm-plugins/memory/dynamicpolicy/policy.go 0.00% 6 Missing :warning:
pkg/agent/qrm-plugins/cpu/util/util.go 0.00% 4 Missing :warning:
...ins/memory/dynamicpolicy/policy_advisor_handler.go 0.00% 3 Missing :warning:
...lugins/cpu/dynamicpolicy/policy_advisor_handler.go 0.00% 2 Missing :warning:
...ns/cpu/dynamicpolicy/policy_allocation_handlers.go 50.00% 0 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #611 +/- ## ========================================== + Coverage 56.06% 56.20% +0.14% ========================================== Files 535 536 +1 Lines 49871 50092 +221 ========================================== + Hits 27961 28156 +195 + Misses 18341 18340 -1 - Partials 3569 3596 +27 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/611/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/611/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.20% <58.66%> (+0.14%)` | :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.