Anyone have some experience creating JMX extensions? Specifically I am looking at one for Kafka. The UI within Dynatrace doesn’t allow you to select multiple topics so my thought process was that I will modify the json directly but I don’t even know if that is possible, I’m new with JMX extension. When attempting to pull in all topics we hit the 100 dimension limit and the ones that we actually need are not there, hence I thought I could input the specific topic names.
Is this possible? My json snippet is below, the bolded portion is my attempt to add a few different topics. I’ve tried a few variations but nothing seems to work. Metrics I am working with via the link below.
{
“timeseries”: {
“key”: “producer.byte.rate”,
“unit”: “Count”,
“displayname”: “Kafka producer - Byte rate”,
“dimensions”: [
“rx_pid”,
“topic”
]
},
“source”: {
“domain”: “kafka.producer”,
“keyProperties”: {
“type”: “producer-topic-metrics”,
“client-id”: “*”,
“topic”: “{CIS_ACCT_EVENT_OUTAGE_ELIGIBILITY|OCP_OUTAGE_EVENT_REPORTED}”
},
“attribute”: “byte-rate”,
“allowAdditionalKeys”: true,
“calculateDelta”: false,
“calculateRate”: false,
“aggregation”: “AVG”,
“splitting”: {
“name”: “topic”,
“type”: “keyProperty”,
“keyProperty”: “topic”
}
}
}