mirror of https://github.com/apache/kafka.git
KAFKA-17657 Replace the consumer-fetch-manager-metrics by groupName (#17317)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
49d7ea6c6a
commit
cfd7d94108
|
@ -141,7 +141,7 @@ public class FetchMetricsRegistry {
|
||||||
this.partitionRecordsLeadAvg = new MetricNameTemplate("records-lead-avg", groupName,
|
this.partitionRecordsLeadAvg = new MetricNameTemplate("records-lead-avg", groupName,
|
||||||
"The average lead of the partition", partitionTags);
|
"The average lead of the partition", partitionTags);
|
||||||
this.partitionPreferredReadReplica = new MetricNameTemplate(
|
this.partitionPreferredReadReplica = new MetricNameTemplate(
|
||||||
"preferred-read-replica", "consumer-fetch-manager-metrics",
|
"preferred-read-replica", groupName,
|
||||||
"The current read replica for the partition, or -1 if reading from leader", partitionTags);
|
"The current read replica for the partition, or -1 if reading from leader", partitionTags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue