AppD Archive

Create JMX Match Rule for HashMap typed MBean attribute

CommunityUser
Splunk Employee
Splunk Employee

Hi all,

I try to do some JMX based monitoring with AppDynamics. I have an MBean, which exposes an attribute of type HashMap<String, Long>. I want to have a separate metric for each entry, the Long value should be the metric value.

I tried several approaches, also using MBean Getter Chain (like get("key")), which should enable me to access the values, but the metric simply does not show up in the metric browser, while other metrics I defined, based on plain Long attributes, work fine.

Has anyone here deeper experience in defining JMX Match Rules, especially with complex objects exposed as attributes?

Cheers!

Stefan

0 Karma

Arun_Dasetty
Super Champion

Hi Stefan,

Apologies for delay in response, Provide below details if this is still an issue, to better debug this:

- screenshot of JMX rule in edit view from Configure -> instrumentation -> Transaction detection in UI

- screenshot of target JMX mbean object mbean attribute in view from node dashboard -> jmx -> mbean browser screen 

- attach agent logs folder archive 

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...