cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create a metric with JMX Operations return value

dynaNoob
Frequent Guest

I have a mbean operation which based on passed string values (2 count) will return a numeric value. I want to collect the returned numeric value to create a metric

com.abc:type=TrackedValues has a JMX Operation getAverage("A","B") which returns a numeric value

1 REPLY 1

jaume_reverte
Dynatrace Advisor
Dynatrace Advisor

Hello Dynanoob, 

The only way I know it is possible to capture this information inside Dynatrace is by creating a JMX extension that will let you inject this as a metric inside Dynatrace. 

Creating an Extension for it is pretty easy with the 2.0 framework and link to the documentation. I recommend you to watch this video. It is an excellent demo of how to perform what you need. 

Hope you a good monitoring! In no time, you'll become dynaPro! 

Hope you a good monitoring!
Jaume Reverte

Featured Posts