-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve] Enable metrics for all broker caches #24365
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #24365 +/- ##
============================================
+ Coverage 73.57% 74.26% +0.68%
+ Complexity 32624 32279 -345
============================================
Files 1877 1866 -11
Lines 139502 145170 +5668
Branches 15299 16596 +1297
============================================
+ Hits 102638 107805 +5167
+ Misses 28908 28827 -81
- Partials 7956 8538 +582
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
(cherry picked from commit 2de91e5)
(cherry picked from commit 2de91e5)
|
@lhotari I will revert this change from branch-4.0 first since the metrics seem not correct. |
This reverts commit 2de91e5.
| } | ||
| } | ||
| }); | ||
| CacheMetricsCollector.CAFFEINE.addCache(metadataStoreName + "-exists", childrenCache); |
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.
this should use existsCache, will be fix in #24407
Motivation
Several broker caches metrics are not exposed in the dashboards. We need to manually register them for the metrics to be collected.
Modifications
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: