Skip to content

Commit 12c328e

Browse files
Merge pull request #269232 from KennedyDenMSFT/US212420
Update FAQ & OpenTelemetry article re: Distro justification & advantages
2 parents c05d2e4 + fd0fa35 commit 12c328e

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

articles/azure-monitor/app/opentelemetry-enable.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ ms.reviewer: mmcc
1111

1212
# Enable Azure Monitor OpenTelemetry for .NET, Node.js, Python, and Java applications
1313

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 Distro [automatically collects](opentelemetry-add-modify.md#automatic-data-collection) traces, metrics, logs, and exceptions across your application and its dependencies. To learn more about collecting data using OpenTelemetry, see [Data Collection Basics](opentelemetry-overview.md) or [OpenTelemetry FAQ](#frequently-asked-questions).
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) in [OpenTelemetry FAQ](#frequently-asked-questions).
15+
16+
To learn more about collecting data using OpenTelemetry, see [Data Collection Basics](opentelemetry-overview.md) or [OpenTelemetry FAQ](#frequently-asked-questions).
1517

1618
## OpenTelemetry Release Status
1719

articles/azure-monitor/includes/azure-monitor-app-insights-opentelemetry-faqs.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,36 @@ See [OpenTelemetry Status](https://opentelemetry.io/status/).
3030

3131
### What is the "Azure Monitor OpenTelemetry Distro"?
3232

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.
3434

3535
### Why should I use the "Azure Monitor OpenTelemetry Distro"?
3636

3737
There are several advantages to using the Azure Monitor OpenTelemetry Distro over native OpenTelemetry from the community:
3838

3939
- Reduces enablement effort
4040
- Supported by Microsoft
41-
- Brings in Azure Specific features such as:
42-
- Preserves traces with service components using Application Insights SDKs
41+
- Brings in Azure-specific features such as:
42+
- Sampling compatible with classic Application Insights SDKs
4343
- [Microsoft Entra authentication](../app/azure-ad-authentication.md)
4444
- [Offline Storage and Automatic Retries](../app/opentelemetry-configuration.md#offline-storage-and-automatic-retries)
4545
- [Statsbeat](../app/statsbeat.md)
4646
- [Application Insights Standard Metrics](../app/standard-metrics.md)
47-
- Detect resource metadata to autopopulate [Cloud Role Name](../app/app-map.md#understand-the-cloud-role-name-within-the-context-of-an-application-map) on Azure
48-
- [Live Metrics](../app/live-stream.md) (future)
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)
4949

5050
In the spirit of OpenTelemetry, we designed the distro to be open and extensible. For example, you can add:
5151

52-
- An OTLP exporter and send to a second destination simultaneously
52+
- An OpenTelemetry Protocol (OTLP) exporter and send to a second destination simultaneously
5353
- Other instrumentation libraries not included in the distro
5454

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+
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).
62+
5563
### How can I test out the Azure Monitor OpenTelemetry Distro?
5664

5765
Check out our enablement docs for [.NET, Java, JavaScript (Node.js), and Python](../app/opentelemetry-enable.md).
@@ -64,9 +72,9 @@ Adopting OpenTelemetry now prevents having to migrate at a later date.
6472

6573
### When should I use the Azure Monitor OpenTelemetry exporter?
6674

67-
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.
6876

69-
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`.
7078

7179
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).
7280

0 commit comments

Comments
 (0)