Hai Zhou created FLINK-7624:
-------------------------------
Summary: Add kafka-topic for "KafkaProducer" metrics
Key: FLINK-7624
URL:
https://issues.apache.org/jira/browse/FLINK-7624 Project: Flink
Issue Type: Bug
Components: Metrics
Reporter: Hai Zhou
Assignee: Hai Zhou
Fix For: 1.4.0
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
(v6.4.14#64029)