Skip to content

Commit a15d660

Browse files
Merge pull request #286280 from kainawroth/kainawroth-statsbeat
Updating Node.js tab with info about disabling Statsbeat via env var
2 parents b1830d5 + 72bffae commit a15d660

File tree

1 file changed

+71
-100
lines changed

1 file changed

+71
-100
lines changed
Lines changed: 71 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Statsbeat in Application Insights | Microsoft Docs
3-
description: Statistics about Application Insights SDKs and AutoInstrumentation
3+
description: Statistics about Application Insights SDKs and autoinstrumentation
44
ms.topic: reference
55
ms.date: 08/24/2022
66
ms.custom: references_regions
@@ -9,125 +9,103 @@ ms.reviwer: heya
99

1010
# Statsbeat in Application Insights
1111

12-
Statsbeat collects essential and nonessential [custom metrics](../essentials/metrics-custom-overview.md) about Application Insights SDKs and autoinstrumentation. Statsbeat serves three benefits for Azure Monitor Application Insights customers:
13-
- Service health and reliability (outside-in monitoring of connectivity to ingestion endpoint)
14-
- Support diagnostics (self-help insights and CSS insights)
15-
- Product improvement (insights for design optimizations)
12+
Statsbeat collects essential and nonessential [custom metrics](../essentials/metrics-custom-overview.md) about Application Insights SDKs and autoinstrumentation. Statsbeat serves three benefits for Application Insights customers:
1613

17-
Statsbeat data is stored in a Microsoft data store. It doesn't affect customers' overall monitoring volume and cost.
18-
19-
Statsbeat doesn't support [Azure Private Link](../../automation/how-to/private-link-security.md).
14+
* Service health and reliability (outside-in monitoring of connectivity to ingestion endpoint)
15+
* Support diagnostics (self-help insights and CSS insights)
16+
* Product improvement (insights for design optimizations)
2017

21-
## What data does Statsbeat collect?
18+
Statsbeat data is stored in a Microsoft data store. It doesn't affect customers' overall monitoring volume and cost.
2219

23-
Statsbeat collects essential and nonessential metrics.
20+
> [!NOTE]
21+
> Statsbeat doesn't support [Azure Private Link](../../automation/how-to/private-link-security.md).
2422
2523
## Supported languages
2624

27-
| C# | Java | JavaScript | Node.js | Python |
28-
|---------------------------|-----------------|---------------------------|-----------------|-----------------|
29-
| Currently not supported | Supported | Currently not supported | Supported | Supported |
25+
| C# | Java | JavaScript | Node.js | Python |
26+
|-------------------------|-----------|-------------------------|-----------|-----------|
27+
| Currently not supported | Supported | Currently not supported | Supported | Supported |
3028

3129
## Supported EU regions
3230

33-
#### [Java](#tab/eu-java)
34-
35-
Statsbeat supports EU Data Boundary for Application Insights resources in the following regions:
36-
37-
| Geo name | Region name |
38-
|---------------------------|------------------------|
39-
| Europe | North Europe |
40-
| Europe | West Europe |
41-
| France | France Central |
42-
| France | France South |
43-
| Germany | Germany West Central |
44-
| Norway | Norway East |
45-
| Norway | Norway West |
46-
| Sweden | Sweden Central |
47-
| Switzerland | Switzerland North |
48-
| Switzerland | Switzerland West |
49-
| United Kingdom | United Kingdom South |
50-
| United Kingdom | United Kingdom West |
51-
52-
#### [Node](#tab/eu-node)
53-
54-
Statsbeat supports EU Data Boundary for Application Insights resources in the following regions:
55-
56-
| Geo name | Region name |
57-
|---------------------------|------------------------|
58-
| Europe | North Europe |
59-
| Europe | West Europe |
60-
| France | France Central |
61-
| France | France South |
62-
| Germany | Germany West Central |
63-
| Norway | Norway East |
64-
| Norway | Norway West |
65-
| Sweden | Sweden Central |
66-
| Switzerland | Switzerland North |
67-
| Switzerland | Switzerland West |
68-
| United Kingdom | United Kingdom South |
69-
| United Kingdom | United Kingdom West |
70-
71-
#### [Python](#tab/eu-python)
72-
7331
Statsbeat supports EU Data Boundary for Application Insights resources in the following regions:
7432

75-
| Geo name | Region name |
76-
|---------------------------|------------------------|
77-
| Europe | North Europe |
78-
| Europe | West Europe |
79-
| France | France Central |
80-
| France | France South |
81-
| Germany | Germany West Central |
82-
| Norway | Norway East |
83-
| Norway | Norway West |
84-
| Sweden | Sweden Central |
85-
| Switzerland | Switzerland North |
86-
| Switzerland | Switzerland West |
87-
| United Kingdom | United Kingdom South |
88-
| United Kingdom | United Kingdom West |
89-
90-
---
33+
| Geo name | Region name |
34+
|----------------|----------------------|
35+
| Europe | North Europe |
36+
| Europe | West Europe |
37+
| France | France Central |
38+
| France | France South |
39+
| Germany | Germany West Central |
40+
| Norway | Norway East |
41+
| Norway | Norway West |
42+
| Sweden | Sweden Central |
43+
| Switzerland | Switzerland North |
44+
| Switzerland | Switzerland West |
45+
| United Kingdom | United Kingdom South |
46+
| United Kingdom | United Kingdom West |
47+
48+
## Supported metrics
49+
50+
Statsbeat collects [essential](#essential-statsbeat) and [nonessential](#nonessential-statsbeat) metrics:
51+
52+
| Language | Essential metrics | Non-essential metrics |
53+
|----------|-------------------|-----------------------|
54+
| Java |||
55+
| Node.js |||
56+
| Python |||
9157

9258
### Essential Statsbeat
9359

9460
#### Network Statsbeat
9561

96-
|Metric name|Unit|Supported dimensions|
97-
|-----|-----|-----|
98-
|Request Success Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`|
99-
|Requests Failure Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Status Code`|
100-
|Request Duration|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`|
101-
|Retry Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Status Code`|
102-
|Throttle Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Status Code`|
103-
|Exception Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Exception Type`|
62+
| Metric name | Unit | Supported dimensions |
63+
|------------------------|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|
64+
| Request Success Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host` |
65+
| Requests Failure Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Status Code` |
66+
| Request Duration | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host` |
67+
| Retry Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Status Code` |
68+
| Throttle Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Status Code` |
69+
| Exception Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`, `Endpoint`, `Host`, `Exception Type` |
10470

10571
[!INCLUDE [azure-monitor-log-analytics-rebrand](~/reusable-content/ce-skilling/azure/includes/azure-monitor-instrumentation-key-deprecation.md)]
10672

10773
#### Attach Statsbeat
10874

109-
|Metric name|Unit|Supported dimensions|
110-
|-----|-----|-----|
111-
|Attach|Count| `Resource Provider`, `Resource Provider Identifier`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`|
75+
| Metric name | Unit | Supported dimensions |
76+
|-------------|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
77+
| Attach | Count | `Resource Provider`, `Resource Provider Identifier`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version` |
11278

11379
#### Feature Statsbeat
11480

115-
|Metric name|Unit|Supported dimensions|
116-
|-----|-----|-----|
117-
|Feature|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Feature`, `Type`, `Operating System`, `Language`, `Version`|
81+
| Metric name | Unit | Supported dimensions |
82+
|-------------|-------|--------------------------------------------------------------------------------------------------------------------------------------------|
83+
| Feature | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Feature`, `Type`, `Operating System`, `Language`, `Version` |
11884

11985
### Nonessential Statsbeat
12086

12187
Track the Disk I/O failure when you use disk persistence for reliable telemetry.
12288

123-
|Metric name|Unit|Supported dimensions|
124-
|-----|-----|-----|
125-
|Read Failure Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`|
126-
|Write Failure Count|Count| `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version`|
89+
| Metric name | Unit | Supported dimensions |
90+
|---------------------|-------|-------------------------------------------------------------------------------------------------------------------------|
91+
| Read Failure Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version` |
92+
| Write Failure Count | Count | `Resource Provider`, `Attach Type`, `Instrumentation Key`, `Runtime Version`, `Operating System`, `Language`, `Version` |
93+
94+
## Firewall configuration
95+
96+
Metrics are sent to the following locations, to which outgoing connections must be opened in firewalls:
12797

128-
### Configure Statsbeat
98+
| Location | URL |
99+
|-------------------|-------------------------------------------------|
100+
| Europe | `westeurope-5.in.applicationinsights.azure.com` |
101+
| Outside of Europe | `westus-0.in.applicationinsights.azure.com` |
129102

130-
#### [Java](#tab/java)
103+
## Disable Statsbeat
104+
105+
### [Java](#tab/java)
106+
107+
> [!NOTE]
108+
> Only nonessential Statsbeat can be disabled in Java.
131109
132110
To disable nonessential Statsbeat, add the following configuration to your config file:
133111

@@ -143,19 +121,12 @@ To disable nonessential Statsbeat, add the following configuration to your confi
143121

144122
You can also disable this feature by setting the environment variable `APPLICATIONINSIGHTS_STATSBEAT_DISABLED` to `true`. This setting then takes precedence over `disabled`, which is specified in the JSON configuration.
145123

146-
#### [Node](#tab/node)
147-
148-
Not supported yet.
149-
150-
#### [Python](#tab/python)
124+
### [Node](#tab/node)
151125

152-
Statsbeat is enabled by default. It can be disabled by setting the environment variable <code class="notranslate">APPLICATIONINSIGHTS_STATSBEAT_DISABLED_ALL</code> to <code class="notranslate">true</code>.
126+
Statsbeat is enabled by default. It can be disabled by setting the environment variable `APPLICATION_INSIGHTS_NO_STATSBEAT` to `true`.
153127

154-
Metrics are sent to the following locations, to which outgoing connections must be opened in firewalls.
128+
### [Python](#tab/python)
155129

156-
|Location |URL |
157-
|---------|---------|
158-
|Europe |<code class="notranslate">westeurope-5.in.applicationinsights.azure.com</code> |
159-
|Outside Europe |<code class="notranslate">westus-0.in.applicationinsights.azure.com</code> |
130+
Statsbeat is enabled by default. It can be disabled by setting the environment variable `APPLICATIONINSIGHTS_STATSBEAT_DISABLED_ALL` to `true`.
160131

161132
---

0 commit comments

Comments
 (0)