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

Can AppDynamics calculate deltas/interval for custom metrics ?

Mihai.Leontescu
Adventurer

Hello

We are pushing custom metrics using the REST API to an Appdynamics Machine agent.

Most of our metrics are absolute counters which continually grow like for instance Newly created User Sessions.

Can AppDynamics calculate a delta between last value and previous value / interval?

 

Example:

Timestamp: 1540305185

Value: 200

 

Timestamp: 1540305245 (60 seconds later)

Value: 500

 

What I actually need is (500 - 200 )/60 = 5 new sessions per second -> graph 5

 

thanks

M.

2 REPLIES 2

Brian.Wheeldon
AppDynamics Team (Retired)

Hi Mihai,

You can specify that custom metrics be aggregated by Average, Sum, or Last Observation, but there is no option for "Delta since the previous observation".

You'll need to retain the previous observation in your REST client and calculate the delta to report to the AppDynamics REST API.

 

Regards,

 

Brian Wheeldon, Solution Engineer, NYC




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Hey Brian

 

thanks for the quick answer, that was our backup plan, as we did not want to build too much "intelligence" in our REST client.

But if there's no other way, we'll just have to do it like this

 

many thanks

M.