CloudWatchWriter output with wildcard in obj

28 views
Skip to first unread message

Michael Rubin

unread,
Feb 22, 2018, 4:30:25 PM2/22/18
to jmxtrans
Hello. I have a configuration like the below. I have a wildcard on 'topic', so I am expecting multiple topics to potentially be queried. I would like the name of each topic to become a 'dimension'. Is it possible to do this? Thank you.

{
 
"outputWriters": [
   
{
     
"@class": "com.googlecode.jmxtrans.model.output.CloudWatchWriter",
     
"settings": {
       
"namespace": "Kafka Broker Topic Metrics",
       
"dimensions": [
         
{"name": "Broker", "value": "kafka-1"}
       
]
     
}
   
}
 
],
 
"obj": "kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec,topic=*",
 
"attr": [
   
"OneMinuteRate",
   
"MeanRate"
 
]
}

Rimal

unread,
Jul 4, 2019, 5:47:08 AM7/4/19
to jmxtrans
Currently, it is not possible. I faced a similar issue and have submitted this pull request which will support this use case.  
Reply all
Reply to author
Forward
0 new messages