New Relic's query language, NRQL, has rate limits in place to ensure a high level of availability and reliability for all users. To understand the places NRQL can be used, see Where is NRQL used?.
You will rarely encounter rate limiting, especially if you follow these general guidelines:
- Limit the amount of requests with complex queries (for example, queries with
TIMESERIESclauses, or queries of over a million events) that run at the same time.
- Limit the amount of requests run concurrently over extended periods of time to a maximum of 5, especially if they include complex queries.
When you run a NRQL query, it will display the number of events inspected, as shown below:
In this context, "events" is used in a general sense to refer to all NRQL-available objects; this includes events, metrics, logs, and distributed tracing (span) data.
Each New Relic account has limits on the total number of events that can be inspected. There are limits that apply over two different time frames:
- A rolling 30-minute time window
- A 24-hour period
These limits are as follows:
Rolling 30 minutes
300 billion events inspected (equivalent to a sustained rate of 10 billion events inspected per minute)
7.2 trillion events inspected
Once the limit has been reached for a given time period, limiting will be imposed and some queries may be impacted. After the time period has passed, if query volume drops below the limit, restrictions will be removed automatically.
The limit on NRQL queries is 3,000 queries per account per minute. When this limit is exceeded, queries may be rejected until the number of queries sent per minute no longer exceed the limit. To learn more about how to view your limits, see our query system limits.
The limit for total number of reported data types is 250 per account over a given 24-hour time period. If a user exceeds this limit, New Relic may filter or drop data.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.