congbobo184 commented on code in PR #19204:
URL: https://github.com/apache/pulsar/pull/19204#discussion_r1069765923
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/stats/metrics/ManagedLedgerCacheMetrics.java:
##########
@@ -48,6 +48,7 @@ public synchronized List<Metrics> generate() {
m.put("brk_ml_count", mlCacheStats.getNumberOfManagedLedgers());
m.put("brk_ml_cache_used_size", mlCacheStats.getCacheUsedSize());
+ m.put("brk_ml_cache_total_size", mlCacheStats.getCacheMaxSize());
Review Comment:
It is a fixed value and a configuration item. Why does it need to be added
to the metrics?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]