Hi
I have created a JMX metric from a MBean in kafka.consumer domain. Please see the uploaded screenshots. The metric get created successfully but it is not showing up in Metrics Browser, even after waiting couple of hours. Wondering what could be wrong..
Thank you in anticipation!
AK
Hi AK,
The Object Name Match Pattern isn't matching anything.
From the looks of it, the MBeans configuration should be:
Object Name Match Pattern: kafka.consumer:type=consumer-coordinator-metrics,*
Instance Identifier: client-id
Please give that a try and post back with the results.
Regards,
Brian Wheeldon
The same mistake persists. It's "consumer-coordinator-metrics", not "consumer-metrics".
Regards,
Brian
The configuration looks correct now.
My suggestion is to restart the JVM and watch out for the custom metrics.
If they don't appear, collect the agent logs through the UI together with the configuration screenshots and open a Support ticket.
Regards,
Brian Wheeldon