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

chore(*): add metrics and logs #517

Closed cheney-lin closed 3 months ago

cheney-lin commented 3 months ago

What type of PR is this?

Enhancements

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 55.42%. Comparing base (6df49a5) to head (358f4a6). Report is 5 commits behind head on main.

:exclamation: Current head 358f4a6 differs from pull request most recent head 6ac2b12. Consider uploading reports for the commit 6ac2b12 to get more accurate results

Files Patch % Lines
pkg/agent/resourcemanager/fetcher/manager.go 83.33% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #517 +/- ## ========================================== - Coverage 55.58% 55.42% -0.16% ========================================== Files 552 552 Lines 59176 59335 +159 ========================================== - Hits 32895 32889 -6 - Misses 22843 23007 +164 - Partials 3438 3439 +1 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/517/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/517/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `55.42% <88.88%> (-0.16%)` | :arrow_down: | 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.