You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/azure-monitor-limits-log-queries.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,25 @@ ms.author: bwren
10
10
ms.custom: "include file"
11
11
---
12
12
13
+
### General query limits
14
+
13
15
| Limit | Description |
14
16
|:---|:---|
15
17
| Query language | Azure Monitor uses the same [Kusto query language](/azure/kusto/query/) as Azure Data Explorer. See [Azure Monitor log query language differences](../articles/azure-monitor/log-query/data-explorer-difference.md) for KQL language elements not supported in Azure Monitor. |
16
18
| Azure regions | Log queries can experience excessive overhead when data spans Log Analytics workspaces in multiple Azure regions. See [Query limits](../articles/azure-monitor/log-query/scope.md#query-limits) for details. |
17
19
| Cross resource queries | Maximum number of Application Insights resources and Log Analytics workspaces in a single query limited to 100.<br>Cross-resource query is not supported in View Designer.<br>Cross-resource query in log alerts is supported in the new scheduledQueryRules API.<br>See [Cross-resource query limits](../articles/azure-monitor/log-query/cross-workspace-query.md#cross-resource-query-limits) for details. |
18
-
| Query throttling | A user is limited to 200 queries per 30 seconds on any number of workspaces. This limit applies to programmatic queries or to queries initiated by visualization parts such as Azure dashboards and the Log Analytics workspace summary page. |
20
+
21
+
### User query throttling
22
+
Azure Monitor has several throttling limits to protect against users sending an excessive number of queries. Such behavior can potentially overload the system backend resources and jeopardize service responsiveness. The following limits are designed to protect customers from interruptions and ensure consistent service level. The user throttling and limits are designed to impact only extreme usage scenario and should not be relevant for typical usage.
23
+
24
+
25
+
| Measure | Limit per user | Description |
26
+
|:---|:---|:---|
27
+
| Concurrent queries | 5 | If there are already 5 queries running for the user, any new queries are placed in a per-user concurrency queue. When one of the running queries ends, the next query will be pulled from the queue and started. This does not include queries from alert rules.
28
+
| Time in concurrency queue | 2.5 minutes | If a query sits in the queue for more than 2.5 minutes without being started, it will be terminated with an HTTP error response with code 429. |
29
+
| Total queries in concurrency queue | 40 | Once the number of queries in the queue reaches 40, any additional queries will by rejected with an HTTP error code 429. This number is in addition to the 5 queries that can be running simultaneously. |
30
+
| Query rate | 200 queries per 30 seconds | This is the overall rate that queries can be submitted by a single user to all workspaces. This limit applies to programmatic queries or queries initiated by visualization parts such as Azure dashboards and the Log Analytics workspace summary page. |
31
+
32
+
- Optimize your queries as described in [Optimize log queries in Azure Monitor](../articles/azure-monitor/log-query/query-optimization.md).
33
+
- Dashboards and workbooks can contain multiple queries in a single view that generate a burst of queries every time they load or refresh. Consider breaking them up into multiple views that load on demand.
34
+
- In Power BI, consider extracting only aggregated results rather than raw logs.
0 commit comments