cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

Creating a metric for the difference between two JMX values

John.Gregg
Maker

Creating a metric for the difference between two JMX values

Hi all,

 

I have a 3rd party library that exposes metrics via JMX.  Unfortunately some of them are simple counters: values that start at 0 and go up and up as the app runs.  Over time, the numbers get so big that looking at a graph over a short time period isn't useful because I can't see small changes in big numbers.  What I really want is the difference in the value over consecutive time periods.  That is, if the value was 1,000,000 a minute ago and is 1,000,037 now, I want 37 displayed/recorded.

 

I don't see anything like this in the docs.  Is it possible?

 

Thanks

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Creating a metric for the difference between two JMX values
1 REPLY 1
Toby.Davies
Creator

When configuring a JMX metric, there is an option to use the delta between this and the last value; is this a fix for your user case?

 

 

deltajmx.PNG