I've set up some Information Points, which work quite well for me. However, when I look at the "Information Points" page, I see Response Time, Calls, Calls per Minute, Errors, Errors per Minute, Error %, and #Custom metrics. This is great!
However, if I go to the Metrics Browser page and select Information Points from there, I only see Average Response Time, Calls Per Minute, and Errors Per Minute. Why aren't the same items of information available in both places? This is a pain because I can only get the REST URL from the Metrics Browser page, and would like to be able to get the number of Calls by accessing the REST interface.
Hi John,
We understood that you want rest API URL for "Calls" , "Error" column value metrics that shows total number of errors and calls in information points scree, and we see the metrics in "calls per minute" or "errors per minute" gives the call/error rate over period as opposed to total calls during the selected period, we see the total calls metric at metric browser does not exist and may not help as we see metric browser shows trend over minute for selected period.
We request you to try the following and let us know if that information helps:
- Use the option "Copy REST URL" on "calls per minute" for selected information point in metric browser:
Ex: Information Points|Book Quantity|Calls per Minute
and the copied url might look like this if you paste in browser tab which gives the aggregated call rate for the information points rolled up data:
http://<your-controller-host>/controller/rest/applications/Acme%20Online%20App/metric-data?metric-path=Information%20Points%7CBook%20Quantity%7CCalls%20per%20Minute&time-range-type=BEFORE_NOW&duration-in-mins=15
- Now add the http parameter "&rollup=false" to the above url
http://<your-controller-host>/controller/rest/applications/Acme%20Online%20App/metric-data?metric-path=Information%20Points%7CBook%20Quantity%7CCalls%20per%20Minute&time-range-type=BEFORE_NOW&duration-in-mins=15&rollup=false
- though the above url does not give the total calls in provided time range, but lists the data in minutes basis, which you can write some xml parser to parse and sum the values for elements "<value>" under <metric-value> element, as per below snippet if we add all the values in <value> element 90+55 then the total value is the same value we see in "calls" element in information points screen,
- you can use the machine agent custom metric feature to create metric at metric browser to get the value from UI again as referred in docs: http://docs.appdynamics.com/display/PRO13S/Build+a+Monitoring+Extension+Using+Scripts
=============================
<metric-datas><metric-data><metricPath>Information Points|Book Quantity|Calls per Minute</metricPath><frequency>ONE_MIN</frequency><metricValues><metric-value><startTimeInMillis>1386575760000</startTimeInMillis><value>90</value><min>0</min><max>0</max><current>90</current></metric-value><metric-value><startTimeInMillis>1386575820000</startTimeInMillis><value>55</value>
======================
If the above steps is not an option here, we request you to feel free to file feature/enhancement request at https://help.appdynamics.com/tickets/new or send email to help@appdynamics.com to add the number of calls metric in metric browser under information points section, and the feature request will be prioritized by product management team.
Thanks,
Arun