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
Hi Brian,
I tried the suggested changes, but no luck. Please see the attached screenshot.
Regards
AK
The same mistake persists. It's "consumer-coordinator-metrics", not "consumer-metrics".
Regards,
Brian
My bad, used the wrong class name. Thanks for the correction!
The changed the config (screenshot attached), waited for 15 mins but still dont see the mertic in Metric browser.
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