Total No of APM Entities in an Account


Is there a way to get total no of APM Entities(count) in an Account with out the need to traverse each page until we get no results, I believe you have provided a count variable for Synthetics in headers with some variable

Hi, @SNeti: How about this NRQL query:

SELECT uniqueCount(apmAppId) FROM NrDailyUsage SINCE 1 day ago 

You may use the query API to execute NRQL queries programmatically.

1 Like

Thank you from ‘uniqueCount’ we can get that and the purpose being having this is
if we have 1000 apps’ then 1000/200 5 API calls need to be made we will make use this info to implement asynchronous calls

1 Like