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
+22-28Lines changed: 22 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,14 @@ 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 within [Application Insights](app-insights-overview.md#application-insights-overview).
14
+
This article describes how to enable and configure OpenTelemetry-based data collection within [Application Insights](app-insights-overview.md#application-insights-overview). The Azure Monitor OpenTelemetry Distro:
15
15
16
-
The Azure Monitor OpenTelemetry Distro:
16
+
* provides an [OpenTelemetry distribution](https://opentelemetry.io/docs/concepts/distributions/#what-is-a-distribution) which includes support for features specific to Azure Monitor,
17
+
* enables [automatic](opentelemetry-add-modify.md#automatic-data-collection) telemetry by including OpenTelemetry instrumentation libraries for collecting traces, metrics, logs, and exceptions,
18
+
* allows collecting [custom](opentelemetry-add-modify.md#collect-custom-telemetry) telemetry, and
19
+
* supports [Live Metrics](live-stream.md) to monitor and collect more telemetry from live, in-production web applications.
17
20
18
-
* Provides an [OpenTelemetry distribution](https://opentelemetry.io/docs/concepts/distributions/#what-is-a-distribution) that includes support for features specific to Azure Monitor.
19
-
* Enables [automatic](opentelemetry-add-modify.md#automatic-data-collection) telemetry by including OpenTelemetry instrumentation libraries for collecting traces, metrics, logs, and exceptions.
* Supports [Live Metrics](live-stream.md) to monitor and collect more telemetry from live, in-production web applications.
22
-
23
-
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).
21
+
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).
24
22
25
23
To learn more about collecting data using OpenTelemetry, see [Data Collection Basics](opentelemetry-overview.md) or [OpenTelemetry FAQ](#frequently-asked-questions).
26
24
@@ -29,63 +27,61 @@ To learn more about collecting data using OpenTelemetry, see [Data Collection Ba
29
27
OpenTelemetry offerings are available for .NET, Node.js, Python, and Java applications.
30
28
31
29
> [!NOTE]
32
-
> *For a feature-by-feature release status, see the [FAQ](#whats-the-current-release-state-of-features-within-the-azure-monitor-opentelemetry-distro).
30
+
> For a feature-by-feature release status, see the [FAQ](#whats-the-current-release-state-of-features-within-the-azure-monitor-opentelemetry-distro).
33
31
32
+
## Enable OpenTelemetry with Application Insights
34
33
34
+
Follow the steps in this section to instrument your application with OpenTelemetry. Select a tab for langauge-specific instructions.
35
35
36
-
## Prerequisites
36
+
###Prerequisites
37
37
38
38
> [!div class="checklist"]
39
39
> * Azure subscription: [Create an Azure subscription for free](https://azure.microsoft.com/free/)
40
40
> * Application Insights resource: [Create an Application Insights resource](create-workspace-resource.md#create-a-workspace-based-resource)
41
41
42
42
<!---NOTE TO CONTRIBUTORS: PLEASE DO NOT SEPARATE OUT JAVASCRIPT AND TYPESCRIPT INTO DIFFERENT TABS.--->
43
43
44
-
## Get started
45
-
46
-
Follow the steps in this section to instrument your application with OpenTelemetry. Select a tab for langauge-specific instructions.
47
-
48
-
> [!NOTE]
49
-
> The .NET covers multiple scenarios, including classic ASP.NET, console apps, Windows Forms (WinForms), etc.
50
-
51
-
### [ASP.NET Core](#tab/aspnetcore)
44
+
#### [ASP.NET Core](#tab/aspnetcore)
52
45
53
46
> [!div class="checklist"]
54
47
> *[ASP.NET Core Application](/aspnet/core/introduction-to-aspnet-core) using an officially supported version of [.NET](https://dotnet.microsoft.com/download/dotnet)
55
48
56
49
> [!Tip]
57
50
> If you're migrating from the Application Insights Classic API, see our [migration documentation](./opentelemetry-dotnet-migrate.md).
58
51
59
-
### [.NET](#tab/net)
52
+
####[.NET](#tab/net)
60
53
61
54
> [!div class="checklist"]
62
55
> * Application using a [supported version](https://dotnet.microsoft.com/platform/support/policy) of [.NET](https://dotnet.microsoft.com/download/dotnet) or [.NET Framework](https://dotnet.microsoft.com/download/dotnet-framework) 4.6.2 and later.
63
56
57
+
> [!NOTE]
58
+
> .NET covers multiple scenarios, including classic ASP.NET, console apps, Windows Forms (WinForms), etc.
59
+
64
60
> [!Tip]
65
61
> If you're migrating from the Application Insights Classic API, see our [migration documentation](./opentelemetry-dotnet-migrate.md).
66
62
67
-
### [Java](#tab/java)
63
+
####[Java](#tab/java)
68
64
69
65
> [!div class="checklist"]
70
66
> * A Java application using Java 8+
71
67
72
-
### [Java native](#tab/java-native)
68
+
####[Java native](#tab/java-native)
73
69
74
70
> [!div class="checklist"]
75
71
> * A Java application using GraalVM 17+
76
72
77
-
### [Node.js](#tab/nodejs)
78
-
79
-
> [!NOTE]
80
-
> If you rely on any properties in the [not-supported table](https://github.com/microsoft/ApplicationInsights-node.js/blob/beta/README.md#ApplicationInsights-Shim-Unsupported-Properties), use the distro, and we'll provide a migration guide soon. If not, the App Insights shim is your easiest path forward when it's out of beta.
73
+
#### [Node.js](#tab/nodejs)
81
74
82
75
> [!div class="checklist"]
83
76
> * Application using an officially [supported version](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-opentelemetry-exporter#currently-supported-environments) of Node.js runtime:<br>• [OpenTelemetry supported runtimes](https://github.com/open-telemetry/opentelemetry-js#supported-runtimes)<br>• [Azure Monitor OpenTelemetry Exporter supported runtimes](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-opentelemetry-exporter#currently-supported-environments)
84
77
78
+
> [!NOTE]
79
+
> If you rely on any properties in the [not-supported table](https://github.com/microsoft/ApplicationInsights-node.js/blob/beta/README.md#ApplicationInsights-Shim-Unsupported-Properties), use the distro, and we'll provide a migration guide soon. If not, the App Insights shim is your easiest path forward when it's out of beta.
80
+
85
81
> [!Tip]
86
82
> If you're migrating from the Application Insights Classic API, see our [migration documentation](./opentelemetry-nodejs-migrate.md).
0 commit comments