AppD Archive

Apache Kafka JMX Metrics not showing up in Metrics Browser

CommunityUser
Splunk Employee
Splunk Employee

 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

0 Karma

Brian_Wheeldon
Contributor

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

Tags (3)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Brian,

I tried the suggested changes, but no luck. Please see the attached screenshot.

Regards

AK

0 Karma

Brian_Wheeldon
Contributor

The same mistake persists. It's "consumer-coordinator-metrics", not "consumer-metrics".

Regards,

Brian

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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.

0 Karma

Brian_Wheeldon
Contributor

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

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...