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
@@ -33,7 +33,9 @@ There are two ways to enable application monitoring for Azure App Services hoste
33
33
> [!NOTE]
34
34
> If both agent-based monitoring and manual SDK-based instrumentation is detected, only the manual instrumentation settings will be honored. This is to prevent duplicate data from being sent. To learn more about this, check out the [troubleshooting section](https://docs.microsoft.com/azure/azure-monitor/app/azure-web-apps#troubleshooting) below.
35
35
36
-
## Enable agent-based monitoring for .NET applications
36
+
## Enable agent-based monitoring
37
+
38
+
# [.NET](#tab/net)
37
39
38
40
> [!NOTE]
39
41
> The combination of APPINSIGHTS_JAVASCRIPT_ENABLED and urlCompression is not supported. For more info see the explanation in the [troubleshooting section](https://docs.microsoft.com/azure/azure-monitor/app/azure-web-apps#troubleshooting).
@@ -69,7 +71,7 @@ There are two ways to enable application monitoring for Azure App Services hoste
69
71
70
72
* For the list of supported adaptive sampling telemetry processor settings, you can consult the [code](https://github.com/Microsoft/ApplicationInsights-dotnet/blob/master/src/ServerTelemetryChannel/AdaptiveSamplingTelemetryProcessor.cs) and [associated documentation](https://docs.microsoft.com/azure/azure-monitor/app/sampling).
71
73
72
-
## Enable agent-based monitoring for .NET Core applications
74
+
#[.NET Core](#tab/netcore)
73
75
74
76
The following versions of .NET Core are supported: ASP.NET Core 2.0, ASP.NET Core 2.1, ASP.NET Core 2.2
75
77
@@ -90,7 +92,15 @@ Targeting the full framework from .NET Core, self-contained deployment, and ASP.
90
92
91
93

92
94
93
-
## Enable client-side monitoring for .NET applications
95
+
# [Node.js](#tab/nodejs)
96
+
97
+
# [Java](#tab/java)
98
+
99
+
Java App Service based web applications do not currently support automatic agent/extension based monitoring. To enable monitoring for your Java application, you need to [manually instrument your application](https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-get-started).
100
+
101
+
## Enable client-side monitoring
102
+
103
+
# [.NET](#tab/net)
94
104
95
105
Client-side monitoring is opt-in for ASP.NET. To enable client-side monitoring:
96
106
@@ -107,7 +117,7 @@ Client-side monitoring is opt-in for ASP.NET. To enable client-side monitoring:
107
117
108
118
To disable client-side monitoring either remove the associated key value pair from the Application settings, or set the value to false.
109
119
110
-
## Enable client-side monitoring for .NET Core applications
120
+
#[.NET Core](#tab/netcore)
111
121
112
122
Client-side monitoring is **enabled by default** for .NET Core apps with **Recommended collection**, regardless of whether the app setting 'APPINSIGHTS_JAVASCRIPT_ENABLED' is present.
113
123
@@ -124,6 +134,12 @@ If for some reason you would like to disable client-side monitoring:
124
134
125
135

126
136
137
+
# [Node.js](#tab/nodejs)
138
+
139
+
# [Java](#tab/java)
140
+
141
+
Java App Service based web applications do not currently support automatic agent/extension based monitoring. To enable monitoring for your Java application, you need to [manually instrument your application](https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-get-started).
142
+
127
143
## Automate monitoring
128
144
129
145
In order to enable telemetry collection with Application Insights, only the Application settings need to be set:
@@ -318,7 +334,7 @@ If the upgrade is done from a version prior to 2.5.1, check that the Application
318
334
Below is our step-by-step troubleshooting guide for extension/agent based monitoring for .NET and .NET Core based applications running on Azure App Services.
319
335
320
336
> [!NOTE]
321
-
> Java and Node.js applications are only supported on Azure App Services via manual SDK based instrumentation and therefore the steps below do not apply to these scenarios.
337
+
> Java applications are only supported on Azure App Services via manual SDK based instrumentation and therefore the steps below do not apply to these scenarios.
322
338
323
339
1. Check that the application is monitored via `ApplicationInsightsAgent`.
324
340
* Check that `ApplicationInsightsAgent_EXTENSION_VERSION` app setting is set to a value of "~2".
0 commit comments