Hello,
I want to collect metrics through JMX plugin, but split them into more than only one dimension :
{
“timeseries”: {
“key”: “metric_put_batch_avg_time_ms_”,
“unit”: “MilliSecond”,
“displayname”: “KafkaConnect-put-batch-avg-time-ms”,
“dimensions”: [
“rx_pid”,
“task”
]
},
“source”: {
“domain”: “kafka.connect”,
“keyProperties”: {
“type”: “sink-task-metrics”,
“task”: “*”
},
“attribute”: “put-batch-avg-time-ms”,
“allowAdditionalKeys”: true,
“calculateDelta”: false,
“calculateRate”: false,
“aggregation”: “AVG”,
“splitting”: {
“name”: “task”,
“type”: “keyProperty”,
“keyProperty”: “task”
}
}
}
In this exemple, it’s ok for the dimension “task”, but I want to add another dimension. OK to add the dimension:
“dimensions”: [
“rx_pid”,
“task”,
“connector”
]
But how to add it in the splitting field? Is there something else to add?
Thanks.