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

Does Analytics API support API Pagination ?

aditya.deshpande
Explorer

Hi,

 

We are trying to consume AppD Analytics API and have few questions regarding consuming the API

 

  1. Does Analytics API supports API pagination ? If yes, then how can we consume it in our code ?
  2. Is there any limit on number of records we can retrieve via AnalyticsAPI ? For example, can we retrieve 1million records per day ?
  3. Also, any SLAs or limit on number records we can retrieve via AnalyticsAPI if we use ADQL aggregation queries ?

Let me know if you need any further details.

 

Regards,

Aditya

 

 

2 REPLIES 2

Chitra.Lal
AppDynamics Team

Hi Aditya,

 

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.

 

Thank You,

Chitra



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

Radhika.Puthiyetath
AppDynamics Team (Retired)

Thanks, @Chitra.Lal for the detailed answer.

 

Hi @aditya.deshpande

 

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.