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.
We are trying to consume AppD Analytics API and have few questions regarding consuming the API
Let me know if you need any further details.
Please find answers to your queries below pointwise:
(1) Does Analytics API supports API pagination ? If yes, then how can we consume it in our code ?
Currently our Analytics Events API does not support REST API Pagination as defined in this StackOverflow.com post. That said, we do offer query parameters which allow one to define the start timestamp and end timestamp for dataset as well as limit the number of results returned. Please have a look at the link from our documentation found here.
(2) Is there any limit on number of records we can retrieve via AnalyticsAPI ? For example, can we retrieve 1million records per day ?
There have been various enhancements to our Analytics API between versions of 4.3.early to 4.4.latest. As stated in our documentation here,
"The Analytics Query API can return a maximum of 10,000 results for non-aggregation queries. New in 4.3.5: For aggregation queries, the maximum is 10,000 results. For versions prior to 4.3.5, the maximum results returned for aggregation queries is 1000."
(3) Also, any SLAs or limit on number records we can retrieve via AnalyticsAPI if we use ADQL aggregation queries?
Yes, The Analytics Search UI caps the number of search results at 1000 records. Refer to the related documentation here,
Hope this helps.
Thanks, @Chitra.Lal for the detailed answer.
Did Analytics API meet your requirements? If you thought @Chitra.Lal covered everything please mark her response as an accepted solution. It would help others with similar issues find the answer quickly.
Let us know if you have further questions.