You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "hudeqi (via GitHub)" <gi...@apache.org> on 2023/07/05 02:26:32 UTC
[GitHub] [kafka] hudeqi commented on a diff in pull request #13924: KAFKA-15129;[1/N] Remove metrics in LogCleanerManager when LogCleaner shutdown
hudeqi commented on code in PR #13924:
URL: https://github.com/apache/kafka/pull/13924#discussion_r1252472323
##########
core/src/main/scala/kafka/log/LogCleanerManager.scala:
##########
@@ -555,6 +570,17 @@ private case class OffsetsToClean(firstDirtyOffset: Long,
}
private[log] object LogCleanerManager extends Logging {
+ private val UncleanablePartitionsCountMetricName = "uncleanable-partitions-count"
+ private val UncleanableBytesMetricName = "uncleanable-bytes"
+ private val MaxDirtyPercentMetricName = "max-dirty-percent"
+ private val TimeSinceLastRunMsMetricName = "time-since-last-run-ms"
+
+ private[log] val GaugeMetricNameWithTag = new java.util.HashMap[String, java.util.List[java.util.Map[String, String]]]()
Review Comment:
Thanks! @divijvaidya @kamalcph. I will pay attention to this issue in subsequent PRs of this type. I have submitted the update of this PR to this minor PR(https://github.com/apache/kafka/pull/13958), thanks for the review.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org