[
https://issues.apache.org/jira/browse/FLINK-7624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227420#comment-17227420
]
Matthias commented on FLINK-7624:
---------------------------------
This issue was addressed as part of the Engine team's backlog grooming from Nov
6, 2020. The issue needs to be addressed as part of a major effort to improve
the metric system. Unfortunately, this is not of high priority for now. We
leave the ticket open for documentation purposes.
> Add kafka-topic for "KafkaProducer" metrics
> -------------------------------------------
>
> Key: FLINK-7624
> URL: https://issues.apache.org/jira/browse/FLINK-7624
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka, Runtime / Metrics
> Reporter: Hai Zhou
> Priority: Major
>
> Currently, metric in "KafkaProducer" MetricGroup, Such as:
> {code:java}
> localhost.taskmanager.dc4092a96ea4e54ecdbd13b9a5c209b2.Flink Streaming
> Job.Sink--MTKafkaProducer08.0.KafkaProducer.record-queue-time-avg
> {code}
> The metric name in the "KafkaProducer" group does not have a kafka-topic name
> part, if the job writes data to two different kafka sinks, these metrics
> will not distinguish.
> I wish that modify the above metric name as follows:
> {code:java}
> localhost.taskmanager.dc4092a96ea4e54ecdbd13b9a5c209b2.Flink Streaming
> Job.Sink--MTKafkaProducer08.0.KafkaProducer.<kafka
> topic>.record-queue-time-avg
> {code}
> Best,
> Hai Zhou
--
This message was sent by Atlassian Jira
(v8.3.4#803005)