You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/opentelemetry-enable.md
+1-25Lines changed: 1 addition & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,32 +11,8 @@ ms.reviewer: mmcc
11
11
12
12
# Enable Azure Monitor OpenTelemetry for .NET, Node.js, Python, and Java applications
13
13
14
-
This article describes how to enable and configure OpenTelemetry-based data collection to power the experiences within [Azure Monitor Application Insights](app-insights-overview.md#application-insights-overview). We walk through how to install the *Azure Monitor OpenTelemetry Distro*. The Azure Monitor OpenTelemetry Distro provides an [OpenTelemetry distribution](https://opentelemetry.io/docs/concepts/distributions/#what-is-a-distribution) that includes support for features specific to Azure Monitor. The Distro enables [automatic](opentelemetry-add-modify.md#automatic-data-collection) telemetry by including OpenTelemetry instrumentation libraries for collecting traces, metrics, logs, and exceptions, and allows collecting [custom](opentelemetry-add-modify.md#collect-custom-telemetry) telemetry. You can also use the [Live Metrics](live-stream.md) feature included in the Distro to monitor and collect additional telemetry from live, in-production web applications.
14
+
This article describes how to enable and configure OpenTelemetry-based data collection to power the experiences within [Azure Monitor Application Insights](app-insights-overview.md#application-insights-overview). We walk through how to install the *Azure Monitor OpenTelemetry Distro*. The Azure Monitor OpenTelemetry Distro provides an [OpenTelemetry distribution](https://opentelemetry.io/docs/concepts/distributions/#what-is-a-distribution) that includes support for features specific to Azure Monitor. The Distro enables [automatic](opentelemetry-add-modify.md#automatic-data-collection) telemetry by including OpenTelemetry instrumentation libraries for collecting traces, metrics, logs, and exceptions, and allows collecting [custom](opentelemetry-add-modify.md#collect-custom-telemetry) telemetry. You can also use the [Live Metrics](live-stream.md) feature included in the Distro to monitor and collect more telemetry from live, in-production web applications. For more information about the advantages of using the Azure Monitor OpenTelemetry Distro, see [Why should I use the "Azure Monitor OpenTelemetry Distro"?](#why-should-i-use-the-azure-monitor-opentelemetry-distro).
15
15
16
-
There are several advantages to using the Azure Monitor OpenTelemetry Distro:
17
-
18
-
- Reduces enablement effort
19
-
- Supported by Microsoft
20
-
- Brings in Azure-specific features such as:
21
-
- Sampling compatible with classic Application Insights SDKs
-[Offline Storage and Automatic Retries](opentelemetry-configuration.md#offline-storage-and-automatic-retries)
24
-
-[Statsbeat](statsbeat.md)
25
-
-[Application Insights Standard Metrics](standard-metrics.md)
26
-
- Detect resource metadata to autopopulate [Cloud Role Name](java-standalone-config.md#cloud-role-name) and [Cloud Role Instance](java-standalone-config.md#cloud-role-instance) on various Azure environments
27
-
-[Live Metrics](live-stream.md)
28
-
29
-
In the spirit of OpenTelemetry, we designed the distro to be open and extensible. For example, you can add:
30
-
31
-
- An OpenTelemetry Protocol (OTLP) exporter and send to a second destination simultaneously
32
-
- Other instrumentation libraries not included in the distro
33
-
34
-
Because the Distro provides an OpenTelemetry distribution, anything supported by OpenTelemetry is typically supported by the Distro. For example, you can add more telemetry processors, exporters, or instrumentation libraries, if they're supported by OpenTelemetry.
35
-
36
-
> [!NOTE]
37
-
> The Distro sets the sampler to a custom, fixed-rate sampler for Application Insights. You can change this to a different sampler, but doing so might disable some of the Distro's included capabilities.
38
-
> For more information about the supported sampler, see the [Enable Sampling](opentelemetry-configuration.md#enable-sampling) section of [Configure Azure Monitor OpenTelemetry](opentelemetry-configuration.md).
39
-
40
16
To learn more about collecting data using OpenTelemetry, see [Data Collection Basics](opentelemetry-overview.md) or [OpenTelemetry FAQ](#frequently-asked-questions).
Copy file name to clipboardExpand all lines: articles/azure-monitor/includes/azure-monitor-app-insights-opentelemetry-faqs.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,34 @@ See [OpenTelemetry Status](https://opentelemetry.io/status/).
30
30
31
31
### What is the "Azure Monitor OpenTelemetry Distro"?
32
32
33
-
You can think of it as a thin wrapper that bundles together all the OpenTelemetry components for a first class experience on Azure. This is also called [Distribution](https://opentelemetry.io/docs/concepts/distributions/) in OpenTelemetry.
33
+
You can think of it as a thin wrapper that bundles together all the OpenTelemetry components for a first class experience on Azure. This wrapper is also called a [distribution](https://opentelemetry.io/docs/concepts/distributions/) in OpenTelemetry.
34
34
35
35
### Why should I use the "Azure Monitor OpenTelemetry Distro"?
36
36
37
+
There are several advantages to using the Azure Monitor OpenTelemetry Distro over native OpenTelemetry from the community:
38
+
39
+
- Reduces enablement effort
40
+
- Supported by Microsoft
41
+
- Brings in Azure-specific features such as:
42
+
- Sampling compatible with classic Application Insights SDKs
-[Offline Storage and Automatic Retries](../app/opentelemetry-configuration.md#offline-storage-and-automatic-retries)
45
+
-[Statsbeat](../app/statsbeat.md)
46
+
-[Application Insights Standard Metrics](../app/standard-metrics.md)
47
+
- Detect resource metadata to autopopulate [Cloud Role Name](../app/java-standalone-config.md#cloud-role-name) and [Cloud Role Instance](../app/java-standalone-config.md#cloud-role-instance) on various Azure environments
48
+
-[Live Metrics](../app/live-stream.md)
49
+
50
+
In the spirit of OpenTelemetry, we designed the distro to be open and extensible. For example, you can add:
51
+
52
+
- An OpenTelemetry Protocol (OTLP) exporter and send to a second destination simultaneously
53
+
- Other instrumentation libraries not included in the distro
54
+
55
+
Because the Distro provides an [OpenTelemetry distribution](https://opentelemetry.io/docs/concepts/distributions/#what-is-a-distribution), the Distro supports anything supported by OpenTelemetry. For example, you can add more telemetry processors, exporters, or instrumentation libraries, if OpenTelemetry supports them.
56
+
57
+
> [!NOTE]
58
+
> The Distro sets the sampler to a custom, fixed-rate sampler for Application Insights. You can change this to a different sampler, but doing so might disable some of the Distro's included capabilities.
59
+
> For more information about the supported sampler, see the [Enable Sampling](../app/opentelemetry-configuration.md#enable-sampling) section of [Configure Azure Monitor OpenTelemetry](../app/opentelemetry-configuration.md).
60
+
37
61
For languages without a supported standalone OpenTelemetry exporter, the Azure Monitor OpenTelemetry Distro is the only currently supported way to use OpenTelemetry with Azure Monitor. For languages with a supported standalone OpenTelemetry exporter, you have the option of using either the Azure Monitor OpenTelemetry Distro or the appropriate standalone OpenTelemetry exporter depending on your telemetry scenario. For more information, see [When should I use the Azure Monitor OpenTelemetry exporter?](#when-should-i-use-the-azure-monitor-opentelemetry-exporter).
38
62
39
63
### How can I test out the Azure Monitor OpenTelemetry Distro?
@@ -48,9 +72,9 @@ Adopting OpenTelemetry now prevents having to migrate at a later date.
48
72
49
73
### When should I use the Azure Monitor OpenTelemetry exporter?
50
74
51
-
For ASP.NET Core, Java, Node.js, and Python, we recommend using the OpenTelemetry distro. It's one line of code to get started.
75
+
For ASP.NET Core, Java, Node.js, and Python, we recommend using the Azure Monitor OpenTelemetry Distro. It's one line of code to get started.
52
76
53
-
For all other .NET scenarios (like classic ASP.NET, Console apps etc.), we recommend using the .NET Azure Monitor OpenTelemetry exporter: `Azure.Monitor.OpenTelemetry.Exporter`.
77
+
For all other .NET scenarios, including classic ASP.NET, console apps, etc., we recommend using the .NET Azure Monitor OpenTelemetry exporter: `Azure.Monitor.OpenTelemetry.Exporter`.
54
78
55
79
For more complex Python telemetry scenarios that require advanced configuration, we recommend using the Python [Azure Monitor OpenTelemetry Exporter](/python/api/overview/azure/monitor-opentelemetry-exporter-readme?view=azure-python-preview&preserve-view=true).
0 commit comments