Azure Monitor service limits - Azure Monitor (2024)

  • Article

This article lists limits in different areas of Azure Monitor.

Alerts

ResourceDefault limitMaximum limit
Metric alerts (classic)100 active alert rules per subscription.
Classic alerts are retired for public cloud users.
Classic alerts for Azure Government cloud and Microsoft Azure operated by 21Vianet will retire on 29 February 2024.
Call support.
Metric alerts5,000 active alert rules per subscription in Azure public, Microsoft Azure operated by 21Vianet, and Azure Government clouds. If you're hitting this limit, explore if you can use the same type multi-resource alerts.
5,000 metric time-series per alert rule.
Call support.
Activity log alerts100 active alert rules per subscription (can't be increased).
As this limit can't be increased, consider sending your Activity Logs to a Log Analytics workspace and creating log search alerts instead, if you need a larger number of rules per subscription.
Same as default.
Log alerts5,000 active alert rules per subscription. Out of which, 100 active alert rules with a 1-minute frequency.
1,000 active alert rules per resource.
Each stateless alert rule can trigger up to 6,000 alerts per evaluation.
Each stateful alert rule can trigger up to 300 alerts per evaluation.
Up to 5,000 fired stateful alerts at a time.
The combined size of all data in the log alert rule properties can't exceed 64 KB.
The Kusto query results can't exceed more than 20 MB.
Call support.
Alert processing rules1,000 active rules per subscription.Call support.
Alert rules and alert processing rules description lengthLog search alerts 4,096 characters.
All others are 2,048 characters.
Same as default.

Alerts API

Azure Monitor alerts have several throttling limits to protect against users making an excessive number of calls. Such behavior can potentially overload the system back-end resources and jeopardize service responsiveness. The following limits are designed to protect customers from interruptions and ensure a consistent service level. The user throttling and limits are designed to affect only extreme usage scenarios. They shouldn't be relevant for typical usage.

Note

There is a limit of API calls per instance. The exact limit number depands on the number of instances.

ResourceDefault limitMaximum limit
Alerts - Get Summary50 calls per minute per subscriptionSame as default
Alerts - Get All (not "Get By ID")100 calls per minute per subscriptionSame as default
All other alerts calls1,000 calls per minute per subscriptionSame as default

Action groups

You can have an unlimited number of action groups in a subscription.

ResourceDefault limitMaximum limit
Azure app push10 Azure app actions per action group.Same as Default
Email1,000 email actions in an action group.
No more than 100 emails every hour for each email address per region
The character limit in an e-mail address is 64.
The character limit in an e-mail is 55296.
Also see the rate limiting information.
Same as Default
Email Azure Resource Manager role10 Email ARM role actions per action group.
In production: No more than 100 emails in an hour per region.
In a test action group: No more than two emails in every one (1) minute.
Same as Default
Event Hubs10 Event Hubs actions per action group.Same as Default
ITSM10 ITSM actions in an action group.Same as Default
Logic app10 logic app actions in an action group.Same as Default
Runbook10 runbook actions in an action group.Same as Default
Secure Webhook10 secure webhook actions in an action group. Maximum number of webhook calls is 1500 per minute per subscription.Same as Default
SMS10 SMS actions in an action group.
In production: No more than one SMS message every five minutes.
In a test action group: No more than one SMS every one minute.
Same as Default
Voice10 voice actions in an action group.
In production: No more than one voice call every five minutes.
In a test action group: No more than one voice call every one minute.
Same as Default
Webhook10 webhook actions in an action group. Maximum number of webhook calls is 1500 per minute per subscription.Same as Default

Autoscale

ResourceDefault limitMaximum limit
Autoscale settings100 per region per subscription.Same as default
Autoscale profiles20 profiles per autoscale setting.Same as default

Prometheus metrics

Ingestion

Azure managed Prometheus is a case insensitive system. It treats strings, such as metric names, label names, or label values, as the same time series if they differ from another time series only by the case of the string. For more information, see Prometheus metrics overview.

The following limits apply to the Azure Monitor workspace ingesting your Prometheus metrics.

LimitValue
Active time series with metrics that have been reported in the last ~12 hours.1,000,000
You can request an increase. 
Events per minute ingested.1,000,000
You can request an increase. 

The following limits apply to the data collection rule (DCR) and data collection endpoint (DCE) sending Prometheus metrics data to your Azure Monitor workspace.

LimitValue
Ingestion requests per minute to a data collection endpoint15,000
This limit can't be increased. 
Data ingestion per minute to a data collection endpoint50 GB
This limit can't be increased.

Queries

Prometheus queries are created by using PromQL and can be authored in either Azure Managed Grafana or self-managed Grafana.

LimitValue
Data retention18 months.
This limit can't be increased. 
Query time range32 days between the start time and end time of your PromQL query.
This limit can't be increased.
Query time series per metric 500,000 time series. 
Query samples returned50,000,000 samples per query. 
Minimum query step size
with time range >= 48 hours 
60 seconds. 

Query data limits
For client traffic:

LimitValue
Throttling window lookup length 30 seconds
Data returned per Azure Monitor workspace0.5 GB

For recording rules traffic:

LimitValue
Throttling window lookup length 3 minutes
Data returned per Azure Monitor workspace1 GB

Query pre-parsing limits
Based on query time range and request type, over a 30-second window (for client traffic):

LimitValue
Query hours per user (Microsoft Entra ID, managed identity, Azure Managed Grafana workspace)30,000
Query hours per Azure Monitor workspace60,000
Query hours per Azure tenant600,000

Based on query time range and request type, over a 3-minute window (for recording rules traffic):

LimitValue
Query hours per Azure Monitor workspace60,000
Query hours per Azure tenant600,000

Query post-parsing limits
Based on query time range and range vectors in query over a 30-second window (for client traffic):

LimitValue
Query hours per user (Microsoft Entra ID, managed identity, Azure Managed Grafana workspace)2,000,000
Query hours per Azure Monitor workspace2,000,000
Query hours per Azure tenant20,000,000

Based on query time range and range vectors in query over a 3-minute window (for recording rules traffic):

LimitValue
Query hours per Azure Monitor workspace2,000,000
Query hours per Azure tenant20,000,000

Query cost throttling limits

LimitValue
Maximum query cost per query15000
Maximum query cost for recording rules query3000

Query cost calculation is done as follows:

Query Cost = (Number of time series requested * (queried time duration in seconds / Inferred time resolution of queried data)) / 5000

Inferred time resolution of queried data = Number of data points stored in any one randomly selected time series keys of queried metric / queried time duration in seconds

Alert and recording rules

Prometheus alert rules and recording rules are defined in PromQL. They're performed on the managed Ruler service as part of Azure Monitor managed service for Prometheus.

Limit Value 
Rule groups per Azure Monitor workspace, in an Azure subscription 500
You can request an increase.
Rules per rule group 20
This limit can't be increased.
Rule group evaluation intervalBetween 1 minute - 24 hours.
Default is 1 minute. 
Active alerts No limit at this time.

Remote write

Calculations were determined by using a remote batch size of 500, which is the default.

LimitValue
CPU usage0.25 x (number of metrics) + 1.25 x (average number of series per metric)
CPU request0.75 x (CPU usage)
CPU limit2 x (CPU request)
Memory request150 Mb
Memory limit200 Mb
Maximum throughputRemote write container can process up to 150,000 unique time series. The container might throw errors serving requests over 150,000 because of the high number of concurrent connections. This issue can be mitigated by increasing the remote batch size from 500 to 1,000. This change reduces the number of open connections.

Logs Ingestion API

LimitValueComments
Maximum size of API call1 MBBoth compressed and uncompressed data.
Maximum size for field values64 KBFields longer than 64 KB are truncated.
Maximum data/minute per DCR2 GBBoth compressed and uncompressed data. Retry after the duration listed in the Retry-After header in the response.
Maximum requests/minute per DCR12,000Retry after the duration listed in the Retry-After header in the response.

Data collection rules

LimitValue
Maximum number of data sources10
Maximum number of counter specifiers in performance counter100
Maximum number of facility names in Syslog20
Maximum number of XPath queries in Event Log100
Maximum number of data flows10
Maximum number of data streams10
Maximum number of extensions10
Maximum size of extension settings32 Kb
Maximum number of Log Analytics workspaces10
Maximum number of characters in a transformation15,360

Diagnostic settings

ResourceDefault LimitMaximum Limit
Maximum number of diagnostic settings per resource5Same as default.

Log queries and language

General query limits

LimitDescription
Query languageAzure Monitor uses the same Kusto Query Language (KQL) as Azure Data Explorer. See Azure Monitor log query language differences for KQL language elements not supported in Azure Monitor.
Azure regionsLog queries can experience excessive overhead when data spans Log Analytics workspaces in multiple Azure regions. See Query limits for details.
Cross resource queriesMaximum number of Application Insights resources and Log Analytics workspaces in a single query limited to 100.
Cross-resource query isn't supported in View Designer.
Cross-resource query in log alerts is supported in the new scheduledQueryRules API.
See Cross-resource query limits for details.
Log Analytics dashboard queriesMaximum number of records returned in a single Log Analytics dashboard query is 2,000.

User query throttling

Azure Monitor has several throttling limits to protect against users sending an excessive number of queries. Such behavior can potentially overload the system back-end 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 affect only extreme usage scenarios and shouldn't be relevant for typical usage.

MeasureLimit per userDescription
Concurrent queries5A user can run up to five concurrent queries. Any other query is added to a queue. When one of the running queries finishes, the first query in the queue is pulled from the queue and starts running. Alert queries aren't part of this limit.
Time in concurrency queue3 minutesIf a query sits in the queue for more than 3 minutes without being started, it's terminated with an HTTP error response with code 429.
Total queries in concurrency queue200When the number of queries in the queue reaches 200, the next query is rejected with an HTTP error code 429. This number is in addition to the five queries that can be running simultaneously.
Query rate200 queries per 30 secondsOverall rate of queries that 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 (deprecated) page.
  • Optimize your queries as described in Optimize log queries in Azure Monitor.
  • 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.
  • In Power BI, consider extracting only aggregated results rather than raw logs.

Log Analytics workspaces

Data collection volume and retention

Pricing tierLimit per dayData retentionComment
Pay-as-you-go
(introduced April 2018)
No limitUp to 730 days interactive retention/
up to 12 years data archive
Data retention beyond 31 days is available for extra charges. Learn more about Azure Monitor pricing.
Commitment tiers
(introduced November 2019)
No limitUp to 730 days interactive retention/
up to 12 years data archive
Data retention beyond 31 days is available for extra charges. Learn more about Azure Monitor pricing.
Legacy Per Node (OMS)
(introduced April 2016)
No limit30 to 730 daysData retention beyond 31 days is available for extra charges. Learn more about Azure Monitor pricing. Access to use tier is limited to subscriptions that contained a Log Analytics workspace or Application Insights resource on April 2, 2018, or are linked to an Enterprise Agreement that started before February 1, 2019 and is still active.
Legacy Standalone tier
(introduced April 2016)
No limit30 to 730 daysData retention beyond 31 days is available for extra charges. Learn more about Azure Monitor pricing. Access to use tier is limited to subscriptions that contained a Log Analytics workspace or Application Insights resource on April 2, 2018, or are linked to an Enterprise Agreement that started before February 1, 2019 and is still active.
Legacy Free tier
(introduced April 2016)
500 MB7 daysWhen your workspace reaches the 500-MB-per-day limit, data ingestion stops and resumes at the start of the next day. A day is based on UTC. Data collected by Microsoft Defender for Cloud isn't included in this 500-MB-per-day limit and continues to be collected above this limit. Creating new workspaces in, or moving existing workspaces into, the legacy Free Trial pricing tier is possible only until July 1, 2022.
Legacy Standard tierNo limit30 daysRetention can't be adjusted. This tier hasn't been available to any new workspaces since October 1, 2016.
Legacy Premium tierNo limit365 daysRetention can't be adjusted. This tier hasn't been available to any new workspaces since October 1, 2016.

Number of workspaces per subscription

Pricing tierWorkspace limitComments
Legacy Free tier10This limit can't be increased. Creating new workspaces in, or moving existing workspaces into, the legacy Free Trial pricing tier is possible only until July 1, 2022.
All other tiersNo limitYou're limited by the number of resources within a resource group and the number of resource groups per subscription.

Azure portal

CategoryLimitComments
Maximum records returned by a log query30,000Reduce results by using query scope, time range, and filters in the query.

Data Collector API

CategoryLimitComments
Maximum size for a single post30 MBSplit larger volumes into multiple posts.
Maximum size for field values32 KBFields longer than 32 KB are truncated.

Query API

CategoryLimitComments
Maximum records returned in a single query500,000
Maximum size of data returned~104 MB (~100 MiB)The API returns up to 64 MB of compressed data, which translates to up to 100 MB of raw data.
Maximum query running time10 minutesSee Timeouts for details.
Maximum request rate200 requests per 30 seconds per Microsoft Entra user or client IP addressSee Log queries and language.

Azure Monitor Logs connector

CategoryLimitComments
Maximum size of data~16.7 MB (~16 MiB)The connector infrastructure dictates that limit is set lower than query API limit.
Maximum number of records500,000
Maximum connector timeout110 second
Maximum query timeout100 second
ChartsThe Logs page and the connector use different charting libraries for visualization. Some functionality isn't currently available in the connector.

Summary rules

CategoryLimit
Maximum number of active rules in a workspace30
Maximum number of results per bin500,000
Maximum results set volume100 MB
Query time-out for bin processing10 minutes

General workspace limits

CategoryLimitComments
Maximum columns in a table500AzureDiagnostics -- columns above the limit are added to dynamic 'AdditionalFields' column
Custom log created by Data collector API -- columns above the limit are added to dynamic 'AdditionalFields' column
Custom log -- contact support for more
Maximum number of custom log tables500Contact support for more
Maximum characters for column name45

Data ingestion volume rate

Azure Monitor is a high-scale data service that serves thousands of customers sending Terabytes of data each daily and at a growing pace. A soft volume rate limit intends to isolate Azure Monitor customers from sudden ingestion spikes in a multitenancy environment. The default ingestion volume rate threshold in workspaces is 500 MB (compressed), which is translated to approximately 6 GB/min uncompressed.

The volume rate limit applies to data ingested from Azure resources via Diagnostic settings and Data Collector API. When the volume rate limit is reached, a retry mechanism attempts to ingest the data four times in a period of 12 hours and drop it if operation fails. The limit doesn't apply to data ingested from agents, or via DCR.

When data sent to your workspace is at a volume rate higher than 80% of the threshold configured in your workspace, an event is sent to the Operation table in your workspace every 6 hours while the threshold continues to be exceeded. When the ingested volume rate is higher than the threshold, some data is dropped, an event is sent to the Operation table in your workspace every 6 hours while the threshold continues to be exceeded.

If your ingestion volume rate continues to exceed the threshold or you're expecting to reach it sometime soon, you can request to increase this limit by opening a support request.

It's also recommended to create an alert rule to proactively notify when you reach any ingestion limits. See Monitor health of Log Analytics workspace in Azure Monitor.

Note

Depending on how long you've been using Log Analytics, you might have access to legacy pricing tiers. Learn more about Log Analytics legacy pricing tiers.

Application Insights

There are some limits on the number of metrics and events per application, that is, per instrumentation key. Limits depend on the pricing plan that you choose.

ResourceDefault limitMaximum limitNotes
Total data per day100 GBContact support.You can set a cap to reduce data. If you need more data, you can increase the limit in the portal, up to 1,000 GB. For capacities greater than 1,000 GB, send email to AIDataCap@microsoft.com.
Throttling32,000 events/secondContact support.The limit is measured over a minute.
Data retention logs30 to 730 days730 daysThis resource is for Logs.
Data retention metrics90 days90 daysThis resource is for Metrics Explorer.
Availability multistep test detailed results retention90 days90 daysThis resource provides detailed results of each step.
Maximum telemetry item size64 KB64 KB
Maximum telemetry items per batch64,00064,000
Property and metric name length150150See type schemas.
Property value string length8,1928,192See type schemas.
Trace and exception message length32,76832,768See type schemas.
Availability tests count per Application Insights resource100100
Availability tests count per resource group800800See Azure Resource Manager
Availability tests maximum redirects per test1010
Availability tests minimum test frequency300 secondsCustom test frequencies or frequencies less than 5 minutes require custom TrackAvailability implementations.
Profiler and Snapshot data retentionTwo weeksContact support. Maximum retention limit is six months.
Profiler data sent per dayNo limitNo limit.
Snapshot data sent per day30 snapshots per day per monitored appNo limit.The number of snapshots collected per application can be modified through configuration.

For more information about pricing and quotas, see Application Insights billing.

Azure Monitor Private Link Scope (AMPLS)

The AMPLS object has the following limits:

  • A virtual network can connect to only one AMPLS object. That means the AMPLS object must provide access to all the Azure Monitor resources to which the virtual network should have access.
  • An AMPLS object can connect to 300 Log Analytics workspaces and 1,000 Application Insights components at most.
  • An Azure Monitor resource (workspace or Application Insights component or data collection endpoint) can connect to five AMPLSs at most.
  • An AMPLS object can connect to 10 private endpoints at most.

Note

AMPLS resources created before December 1, 2021, support only 50 resources.

Next steps

  • Azure Monitor pricing
  • Azure Monitor cost and usage
Azure Monitor service limits - Azure Monitor (2024)
Top Articles
How Do You Calculate a Commercial Valuation?
10 Savings Challenges to Boost Your Bank Balance | Chase
St Thomas Usvi Craigslist
No Hard Feelings Showtimes Near Metropolitan Fiesta 5 Theatre
4-Hour Private ATV Riding Experience in Adirondacks 2024 on Cool Destinations
Arkansas Gazette Sudoku
Nfr Daysheet
Google Jobs Denver
Practical Magic 123Movies
Doublelist Paducah Ky
Call Follower Osrs
Atrium Shift Select
Draconic Treatise On Mining
The Weather Channel Facebook
Seafood Bucket Cajun Style Seafood Restaurant in South Salt Lake - Restaurant menu and reviews
5808 W 110Th St Overland Park Ks 66211 Directions
Bad Moms 123Movies
Nba Rotogrinders Starting Lineups
5 high school volleyball stars of the week: Sept. 17 edition
Bfg Straap Dead Photo Graphic
Condogames Xyz Discord
Tvtv.us Duluth Mn
Convert 2024.33 Usd
Understanding Genetics
Contracts for May 28, 2020
Rubber Ducks Akron Score
Hannaford Weekly Flyer Manchester Nh
Sienna
Timeline of the September 11 Attacks
Wonder Film Wiki
Yale College Confidential 2027
Rural King Credit Card Minimum Credit Score
How rich were the McCallisters in 'Home Alone'? Family's income unveiled
Kids and Adult Dinosaur Costume
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Gyeon Jahee
Iban's staff
Kelsey Mcewen Photos
Myql Loan Login
Dadeclerk
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
Tsbarbiespanishxxl
Craigslist en Santa Cruz, California: Tu Guía Definitiva para Comprar, Vender e Intercambiar - First Republic Craigslist
Arnesons Webcam
6576771660
Juiced Banned Ad
Goats For Sale On Craigslist
Value Village Silver Spring Photos
A jovem que batizou lei após ser sequestrada por 'amigo virtual'
Game Like Tales Of Androgyny
San Pedro Sula To Miami Google Flights
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 6660

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.