I want to have a gradation of metrics on the topics of Kafka in Graphite, but jmxtrans merges identical metrics into one prefix:
INFO | jvm 1 | 2018/11/12 19:26:33 | 2018-11-12 19:26:33 [jmxtrans-result-0] DEBUG c.g.j.model.output.GraphiteWriter - Query result: Result(attributeName=Count, className=com.yammer.metrics.reporting.JmxReporter$Meter, objDomain=kafka.server, typeName=type=BrokerTopi
cMetrics,name=TotalProduceRequestsPerSec,topic=my_topic, valuePath=[], value=311960, epoch=1542039993362, keyAlias=null)
INFO | jvm 1 | 2018/11/12 19:26:33 | 2018-11-12 19:26:33 [jmxtrans-result-0] DEBUG c.g.j.model.output.GraphiteWriter - Graphite Message: portal.kafka.youla-mq1.127_0_0_1_9393.com_yammer_metrics_reporting_JmxReporter$Meter.Count 311960 1542039993
INFO | jvm 1 | 2018/11/12 19:26:33 |
INFO | jvm 1 | 2018/11/12 19:26:33 | 2018-11-12 19:26:33 [jmxtrans-result-0] DEBUG c.g.j.model.output.GraphiteWriter - Query result: Result(attributeName=Count, className=com.yammer.metrics.reporting.JmxReporter$Meter, objDomain=kafka.server, typeName=type=BrokerTopi
cMetrics,name=TotalProduceRequestsPerSec,topic=other_topic, valuePath=[], value=797574, epoch=1542039993363, keyAlias=null)
INFO | jvm 1 | 2018/11/12 19:26:33 | 2018-11-12 19:26:33 [jmxtrans-result-0] DEBUG c.g.j.model.output.GraphiteWriter - Graphite Message: portal.kafka.youla-mq1.127_0_0_1_9393.com_yammer_metrics_reporting_JmxReporter$Meter.Count 797574 1542039993
INFO | jvm 1 | 2018/11/12 19:26:33 |
INFO | jvm 1 | 2018/11/12 19:26:33 | 2018-11-12 19:26:33 [jmxtrans-result-0] DEBUG c.g.j.model.output.GraphiteWriter - Query result: Result(attributeName=Count, className=com.yammer.metrics.reporting.JmxReporter$Meter, objDomain=kafka.server, typeName=type=BrokerTopi
cMetrics,name=TotalProduceRequestsPerSec,topic=one_more_topic, valuePath=[], value=0, epoch=1542039993364, keyAlias=null)
INFO | jvm 1 | 2018/11/12 19:26:33 | 2018-11-12 19:26:33 [jmxtrans-result-0] DEBUG c.g.j.model.output.GraphiteWriter - Graphite Message: portal.kafka.youla-mq1.127_0_0_1_9393.com_yammer_metrics_reporting_JmxReporter$Meter.Count 0 1542039993