Ritikj55 commented on code in PR #23763:
URL: https://github.com/apache/kafka/pull/23763#discussion_r4526069680
##########
clients/src/main/java/org/apache/kafka/common/telemetry/internals/KafkaMetricsCollector.java:
##########
@@ -179,6 +179,10 @@ public void collect(MetricsEmitter metricsEmitter) {
KafkaMetric metric = entry.getValue();
try {
+ if (!metric.isActive()) {
+ log.warn("Skipping inactive kafkaMetric {}",
metricKey.name());
Review Comment:
Have changed level to trace, should it go fine, or should remove it entirely
--
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]