Azure Monitor 服务限制Azure Monitor service limits

本文列出了 Azure Monitor 在不同区域中的限制。This article lists limits in different areas of Azure Monitor.

警报Alerts

ResourceResource 默认限制Default limit 最大限制Maximum limit
指标警报(经典)Metric alerts (classic) 每个订阅 100 个活动警报规则。100 active alert rules per subscription. 致电支持人员。Call support.
指标警报Metric alerts 在公有云中,每个订阅 1000 个活动警报规则;在 Azure 中国世纪互联和 Azure 政府服务中,每个订阅 100 个活动警报规则。1000 active alert rules per subscription (in public clouds) and 100 active alert rules per subscription in Azure China 21Vianet and Azure Government. 致电支持人员。Call support.
活动日志警报Activity log alerts 每个订阅 100 个活动警报规则。100 active alert rules per subscription. 与默认值相同。Same as default.
日志警报Log alerts 512512 致电支持人员。Call support.
操作组Action groups 每个订阅 2,000 个操作组。2,000 action groups per subscription. 致电支持人员。Call support.
自动缩放设置Autoscale settings 每个订阅每个区域 100 个。100 per region per subscription. 与默认值相同。Same as default.

操作组Action groups

ResourceResource 默认限制Default limit 最大限制Maximum limit
Azure 应用推送Azure app push 每个操作组 10 个 Azure 应用操作。10 Azure app actions per action group. 致电支持人员。Call support.
EmailEmail 一个操作组中有 1,000 个电子邮件操作。1,000 email actions in an action group.
一小时内最多 100 个电子邮件。No more than 100 emails in an hour.
另请参阅速率限制信息Also see the rate limiting information.
致电支持人员。Call support.
ITSMITSM 一个操作组中有 10 个 ITSM 操作。10 ITSM actions in an action group. 致电支持人员。Call support.
逻辑应用Logic app 一个操作组中有 10 个逻辑应用操作。10 logic app actions in an action group. 致电支持人员。Call support.
RunbookRunbook 一个操作组中有 10 个 runbook 操作。10 runbook actions in an action group. 致电支持人员。Call support.
SMSSMS 一个操作组中有 10 个短信操作。10 SMS actions in an action group.
每 5 分钟最多 1 条短信。No more than 1 SMS message every 5 minutes.
另请参阅速率限制信息Also see the rate limiting information.
致电支持人员。Call support.
语音Voice 一个操作组中有 10 个语音操作。10 voice actions in an action group.
每 5 分钟最多 1 条语音呼叫。No more than 1 voice call every 5 minutes.
另请参阅速率限制信息Also see the rate limiting information.
致电支持人员。Call support.
WebhookWebhook 一个操作组中有 10 个 Webhook 操作。10 webhook actions in an action group. 每个订阅最大 Webhook 调用次数为每分钟 1500 次。Maximum number of webhook calls is 1500 per minute per subscription. 其他限制可在特定于操作的信息中找到。Other limits are available at action-specific information. 致电支持人员。Call support.

日志查询和语言Log queries and language

限制Limit 说明Description
查询语言Query language Azure Monitor 使用与 Azure 数据资源管理器相同的 Kusto 查询语言Azure Monitor uses the same Kusto query language as Azure Data Explorer. 有关 Azure Monitor 中不支持的 KQL 语言元素,请参阅 Azure Monitor 日志查询语言差异See Azure Monitor log query language differences for KQL language elements not supported in Azure Monitor.
Azure 区域Azure regions 当数据跨多个 Azure 区域中的 Log Analytics 工作区时,日志查询可能会遇到过多的开销。Log queries can experience excessive overhead when data spans Log Analytics workspaces in multiple Azure regions. 有关详细信息,请参阅查询限制See Query limits for details.
跨资源查询Cross resource queries 单个查询中的 Application Insights 资源和 Log Analytics 工作区的最大数量限制为 100。Maximum number of Application Insights resources and Log Analytics workspaces in a single query limited to 100.
视图设计器不支持跨资源查询。Cross-resource query is not supported in View Designer.
新的 scheduledQueryRules API 支持日志警报中的跨资源查询。Cross-resource query in log alerts is supported in the new scheduledQueryRules API.
有关详细信息,请参阅跨资源查询限制See Cross-resource query limits for details.

Log Analytics 工作区Log Analytics workspaces

数据收集量和保留期Data collection volume and retention

Tier 每日限制Limit per day 数据保留Data retention 注释Comment
当前每 GB 定价层Current Per GB pricing tier
(已于 2018 年 4 月推出)(introduced April 2018)
无限制No limit 30 - 730 天30 - 730 days 如果数据保留期超过 31 天,则需要收取额外的费用。Data retention beyond 31 days is available for additional charges. 详细了解 Azure Monitor 定价。Learn more about Azure Monitor pricing.
旧的免费层Legacy Free tiers
(已于 2016 年 4 月推出)(introduced April 2016)
500 MB500 MB 7 天7 days 当工作区达到 500 MB 的每日限制时,数据引入会停止,并在第二天开始时恢复。When your workspace reaches the 500 MB per day limit, data ingestion stops and resumes at the start of the next day. 日期基于 UTC。A day is based on UTC. 请注意,由 Azure 安全中心收集的数据不包含在这一 500 MB 的每日限制内,并在超出此限制后继续进行收集。Note that data collected by Azure Security Center is not included in this 500 MB per day limit and will continue to be collected above this limit.
旧的独立(按 GB)层Legacy Standalone Per GB tier
(已于 2016 年 4 月推出)(introduced April 2016)
无限制No limit 30 至 730 天30 to 730 days 如果数据保留期超过 31 天,则需要收取额外的费用。Data retention beyond 31 days is available for additional charges. 详细了解 Azure Monitor 定价。Learn more about Azure Monitor pricing.
旧的按节点 (OMS) 定价层Legacy Per Node (OMS)
(已于 2016 年 4 月推出)(introduced April 2016)
无限制No limit 30 至 730 天30 to 730 days 如果数据保留期超过 31 天,则需要收取额外的费用。Data retention beyond 31 days is available for additional charges. 详细了解 Azure Monitor 定价。Learn more about Azure Monitor pricing.
旧的标准层Legacy Standard tier 无限制No limit 30 天30 days 不能调整保留期Retention can't be adjusted
旧的高级层Legacy Premium tier 无限制No limit 365 天365 days 不能调整保留期Retention can't be adjusted

每个订阅的工作区数。Number of workspaces per subscription.

定价层Pricing tier 工作区限制Workspace limit 注释Comments
免费层Free tier 10 个10 此限制不能提高。This limit can't be increased.
其他所有层All other tiers 无限制No limit 你会受到资源组中的资源数以及每个订阅的资源组数的限制。You're limited by the number of resources within a resource group and the number of resource groups per subscription.

Azure 门户Azure portal

CategoryCategory 限制Limits 注释Comments
日志查询返回的最大记录数Maximum records returned by a log query 10,00010,000 在查询中使用查询作用域、时间范围和筛选器来减少结果。Reduce results using query scope, time range, and filters in the query.

数据收集器 APIData Collector API

CategoryCategory 限制Limits 注释Comments
单个发布内容的最大大小Maximum size for a single post 30 MB30 MB 将较大的卷拆分为多个发布内容。Split larger volumes into multiple posts.
字段值的最大大小Maximum size for field values 32 KB32 KB 超过 32 KB 的字段会被截断。Fields longer than 32 KB are truncated.

搜索 APISearch API

CategoryCategory 限制Limits 注释Comments
为非聚合数据返回的最大记录数Maximum records returned for non-aggregated data 5,0005,000
聚合数据的最大记录数Maximum records for aggregated data 500,000500,000 聚合数据是包含 summarize 命令的搜索。Aggregated data is a search that includes the summarize command.
返回的数据的最大大小Maximum size of data returned 64,000,000 字节 (~61 MiB)64,000,000 bytes (~61 MiB)
最长查询运行时间Maximum query running time 10 分钟10 minutes 有关详细信息,请参阅超时See Timeouts for details.
最大请求速率Maximum request rate 每个 AAD 用户或客户端 IP 地址每 30 秒发出 200 个请求200 requests per 30 seconds per AAD user or client IP address 有关详细信息,请参阅速率限制See Rate limits for details.

常规工作区限制General workspace limits

CategoryCategory 限制Limits 注释Comments
表中的最大列数Maximum columns in a table 500500
列名称的最大字符数Maximum characters for column name 500500
满负荷的区域Regions at capacity 美国中西部West Central US 目前,不能在这个区域中新建工作区,因为该区域已达到临时容量限制。You cannot currently create a new workspace in this region since it is at temporary capacity limit. 此限制已计划于 2019 年 9 月底予以解除。This limit is planned to be addressed by end of September, 2019.
数据导出Data export 当前不可用Not currently available 使用 Azure 函数或逻辑应用聚合和导出数据。Use Azure Function or Logic App to aggregate and export data.

备注

根据 Log Analytics 的使用时长,你可能有权使用旧的定价层。Depending on how long you've been using Log Analytics, you might have access to legacy pricing tiers. 详细了解 Log Analytics 的旧定价层Learn more about Log Analytics legacy pricing tiers.

Application InsightsApplication 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.

ResourceResource 默认限制Default limit 注意Note
每日的总数据量Total data per day 100 GB100 GB 可以通过设置一个上限来减少数据。You can reduce data by setting a cap. 如果需要更多数据,可以在门户中最多将上限提高到 1,000 GB。If you need more data, you can increase the limit in the portal, up to 1,000 GB. 如需大于 1,000 GB 的容量,请将电子邮件发送到 AIDataCap@microsoft.com。For capacities greater than 1,000 GB, send email to AIDataCap@microsoft.com.
限制Throttling 32,000 事件/秒32,000 events/second 限制按分钟计量。The limit is measured over a minute.
数据保留Data retention 90 天90 days 此资源适用于搜索分析指标资源管理器This resource is for Search, Analytics, and Metrics Explorer.
可用性多步骤测试详细结果保留Availability multi-step test detailed results retention 90 天90 days 此资源提供了每个步骤的详细结果。This resource provides detailed results of each step.
最大事件大小Maximum event size 64,00064,000
属性和指标名称长度Property and metric name length 150150 请参阅类型架构See type schemas.
属性值字符串长度Property value string length 8,1928,192 请参阅类型架构See type schemas.
跟踪和异常消息长度Trace and exception message length 32,76832,768 请参阅类型架构See type schemas.
每个应用的可用性测试计数Availability tests count per app 100100

有关详细信息,请参阅关于 Application Insights 中的定价和配额For more information, see About pricing and quotas in Application Insights.

后续步骤Next Steps