rocketmq
rocketmq copied to clipboard
[ISSUE #9885] Fix tiered store cache count and bytes metrics
Which Issue(s) This PR Fixes
Fixes #9885
Brief Description
Use the correct methods to collect GAUGE_CACHE_COUNT and GAUGE_CACHE_BYTES metrics.
How Did You Test This Change?
unit test
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 48.31%. Comparing base (63d20eb) to head (4c6c78e).
Additional details and impacted files
@@ Coverage Diff @@
## develop #9886 +/- ##
=============================================
- Coverage 48.39% 48.31% -0.08%
+ Complexity 12283 12266 -17
=============================================
Files 1314 1314
Lines 93903 93905 +2
Branches 12046 12046
=============================================
- Hits 45443 45373 -70
- Misses 42852 42905 +53
- Partials 5608 5627 +19
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.