你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
在许多情况下,Azure Monitor Application Insights 通过名为 Statsbeat 的功能自动收集有关Microsoft产品使用情况的数据。 此数据存储在Microsoft数据存储中,不会影响客户的监视量和成本。 Statsbeat 收集关于以下方面的基本和非基本指标:
- Azure Monitor OpenTelemetry 发行版
- Autoinstrumentation(自动检测)
- Application Insights SDK (经典 API)
Statsbeat 的三个主要用途是:
- 服务运行状况和可靠性 - 从外部角度监视与引入终结点的连接,以确保服务正常运行。
- 支持诊断 - 提供自助见解,并帮助客户支持诊断和解决问题。
- 产品改进 - 收集 Microsoft 见解,以优化产品开发并增强整体用户体验。
注意
Statsbeat 不支持 Azure 专用链接。
支持的语言
| Statsbeat | 。网 | 爪哇岛 | Javascript | Node.js | Python语言 |
|---|---|---|---|---|---|
| 基本 Statsbeat | |||||
| 网络 | ❌ | ✅ | ❌ | ✅ | ✅ |
| 附加 | ✔️* | ✅ | ❌ | ✅ | ✅ |
| 功能 | ❌ | ✅ | ❌ | ✅ | ✅ |
| 非基本 Statsbeat | |||||
| 磁盘 I/O 失败 | ❌ | ✅ | ❌ | ❌ | ❌ |
* 经典 API 或自动检测不支持(仅限 OTel)
支持的欧盟地区
Statsbeat 支持以下区域中 Application Insights 资源的 EU 数据边界:
| 地理名称 | 区域名称 |
|---|---|
| 欧洲 | 北欧 |
| 欧洲 | 西欧 |
| 法国 | 法国中部 |
| 法国 | 法国南部 |
| 德国 | 德国中西部 |
| 挪威 | 挪威东部 |
| 挪威 | 挪威西部 |
| 瑞典 | 瑞典中部 |
| 瑞士 | 瑞士北部 |
| 瑞士 | 瑞士西部 |
| 英国 | 英国南部 |
| 英国 | 英国西部 |
基本 Statsbeat
网络 Statsbeat
| 指标名称 | 计价单位 | 支持的维度 |
|---|---|---|
| 请求成功计数 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Operating System、Language、Version、、 EndpointHost |
| 请求失败计数 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Operating System、Language、Version、Endpoint、、 HostStatus Code |
| 请求持续时间 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Operating System、Language、Version、、 EndpointHost |
| 重试计数 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Operating System、Language、Version、Endpoint、、 HostStatus Code |
| 限制计数 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Operating System、Language、Version、Endpoint、、 HostStatus Code |
| 异常计数 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Operating System、Language、Version、Endpoint、、 HostException Type |
附加 Statsbeat
| 指标名称 | 计价单位 | 支持的维度 |
|---|---|---|
| 附加 | 计数 |
Resource Provider、、Resource Provider IdentifierAttach Type、Instrumentation Key、Runtime Version、Operating System、、 LanguageVersion |
功能 Statsbeat
| 指标名称 | 计价单位 | 支持的维度 |
|---|---|---|
| 功能 / 特点 | 计数 |
Resource Provider、、Attach Type、Instrumentation KeyRuntime Version、Feature、Type、Operating System、、 LanguageVersion |
非基本 Statsbeat
使用磁盘持久性进行可靠遥测时,跟踪磁盘 I/O 故障。
| 指标名称 | 计价单位 | 支持的维度 |
|---|---|---|
| 读取失败计数 | 计数 |
Resource Provider、、Attach TypeInstrumentation Key、Runtime Version、Operating System、、 LanguageVersion |
| 写入失败计数 | 计数 |
Resource Provider、、Attach TypeInstrumentation Key、Runtime Version、Operating System、、 LanguageVersion |
防火墙配置
指标将发送到以下位置,必须在防火墙中打开传出连接:
| 位置 | 代码 |
|---|---|
| 欧洲 | westeurope-5.in.applicationinsights.azure.com |
| 欧洲以外地区 | westus-0.in.applicationinsights.azure.com |
禁用 Statsbeat
Statsbeat 在默认情况下已启用。 可以通过将环境变量 APPLICATIONINSIGHTS_STATSBEAT_DISABLED 设置为 true 来禁用它。