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.
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,
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,
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.