Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
05-11-2022 03:21 AM
Hi
I am trying to request metric data from my controller using metric-data rest api. Though, the frequency of data points is showing some inconsistent behaviour while giving time frame of current data and older dates.
e.g. Fetch Business Transactions' Calls per minute metric data for 15 minute frame in today.
Frequency - ONE_MIN in response and number of data points is 15 which is accurate.
But for older date, say 9th May 2022 data being requested on 11th May 2022 for a data frame of 15 mins, similar to above scenario. Then,
Frequency - TEN_MIN in response and only 1 data point which is inaccurate.
Note: rollup is false in both cases.
[ { "metricId": 2960604, "metricName": "BTM|Application Diagnostic Data|SEP:211315|Calls per Minute", "metricPath": "Service Endpoints|xx|/xx|Individual Nodes|baseapp|Calls per Minute", "frequency": "TEN_MIN", "metricValues": [ { "startTimeInMillis": 1652107200000, "occurrences": 1, "current": 141, "min": 0, "max": 167, "useRange": true, "count": 10, "sum": 1264, "value": 126, "standardDeviation": 0 } ] } ]
Urgent help required over this one...
Solved! Go to Solution.
05-11-2022 03:55 AM
Adding to my set of observations, in older dates if i request data for timeframe less than ten minutes long e.g. 5 minutes. Then, the data set is empty and no data points are returned.
05-11-2022 05:48 AM
Hi Ashmita
What you are describing is exactly how it works.
Raw per minute data is no kept indefinitely , it is aggregated at certain time periods and stored in the aggregated time sections.
You can read more here which explains how that works
Ciao
05-15-2022 09:19 PM
Hey Mario,
Thanks for answering my doubts. Even though i understand the concept, but i would like to understand the difference between behaviour of UI and Rest. The UI is still capable to plotting the data with frequency ONE_MIN whereas the same time frame is served with minimum frequency TEN_MIN for rest.
Also, the minimum TEN_MIN frequency restricts user from accessing data if the time frame of interest is smaller than 10 minutes.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form