Statsbeat in Application Insights
In many instances, Azure Monitor Application Insights automatically collects data about product usage for Azure through a feature called Statsbeat. This data is stored in a Azure data store and doesn't affect customers' monitoring volume and cost. Statsbeat collects essential and nonessential metrics about:
- Azure Monitor OpenTelemetry Distro
- Autoinstrumentation (automatic instrumentation)
- Application Insights SDKs (Classic API)
The three main purposes of Statsbeat are:
- Service health and reliability - Monitoring the connectivity to the ingestion endpoint from an external perspective to ensure the service is functioning correctly.
- Support diagnostics - Offering self-help insights and assisting customer support with diagnosing and resolving issues.
- Product improvement - Gathering insights for Microsoft to optimize product design and enhance the overall user experience.
Note
Statsbeat doesn't support Azure Private Link.
Supported languages
Statsbeat | .NET | Java | JavaScript | Node.js | Python |
---|---|---|---|---|---|
Essential Statsbeat | |||||
Network | ❌ | ✅ | ❌ | ✅ | ✅ |
Attach | ✔️* | ✅ | ❌ | ✅ | ✅ |
Feature | ❌ | ✅ | ❌ | ✅ | ✅ |
Non-essential Statsbeat | |||||
Disk I/O failure | ❌ | ✅ | ❌ | ❌ | ❌ |
* Not supported with Classic API or autoinstrumentation (OTel only)
Essential Statsbeat
Network Statsbeat
Metric name | Unit | Supported dimensions |
---|---|---|
Request Success Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version , Endpoint , Host |
Requests Failure Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version , Endpoint , Host , Status Code |
Request Duration | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version , Endpoint , Host |
Retry Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version , Endpoint , Host , Status Code |
Throttle Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version , Endpoint , Host , Status Code |
Exception Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version , Endpoint , Host , Exception Type |
Note
On March 31, 2025, support for instrumentation key ingestion will end. Instrumentation key ingestion will continue to work, but we'll no longer provide updates or support for the feature. Transition to connection strings to take advantage of new capabilities.
Attach Statsbeat
Metric name | Unit | Supported dimensions |
---|---|---|
Attach | Count | Resource Provider , Resource Provider Identifier , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version |
Feature Statsbeat
Metric name | Unit | Supported dimensions |
---|---|---|
Feature | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Feature , Type , Operating System , Language , Version |
Nonessential Statsbeat
Track the Disk I/O failure when you use disk persistence for reliable telemetry.
Metric name | Unit | Supported dimensions |
---|---|---|
Read Failure Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version |
Write Failure Count | Count | Resource Provider , Attach Type , Instrumentation Key , Runtime Version , Operating System , Language , Version |
Disable Statsbeat
Statsbeat is enabled by default. It can be disabled by setting the environment variable APPLICATIONINSIGHTS_STATSBEAT_DISABLED
to true
.