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/azure-web-apps.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,11 @@ There are two ways to enable monitoring for applications hosted on App Service:
28
28
-[.NET](./azure-web-apps-net.md)
29
29
-[Java](./azure-web-apps-java.md)
30
30
-[Node.js](./azure-web-apps-nodejs.md)
31
+
-[Python](./azure-web-apps-python.md)
31
32
32
33
***Manually instrumenting the application through code** by installing the Application Insights SDK.
33
34
34
-
This approach is much more customizable, but it requires the following approaches: SDK for [.NET Core](./asp-net-core.md), [.NET](./asp-net.md), [Node.js](./nodejs.md), [Python](/previous-versions/azure/azure-monitor/app/opencensus-python), and a standalone agent for [Java](./opentelemetry-enable.md?tabs=java). This method also means you must manage the updates to the latest version of the packages yourself.
35
+
This approach is much more customizable, but it requires the following approaches: SDK for [.NET Core](./asp-net-core.md), [.NET](./asp-net.md), [Node.js](./nodejs.md), [Python](./opentelemetry-enable.md?tabs=python), and a standalone agent for [Java](./opentelemetry-enable.md?tabs=java). This method also means you must manage the updates to the latest version of the packages yourself.
35
36
36
37
If you need to make custom API calls to track events/dependencies not captured by default with autoinstrumentation monitoring, you need to use this method. To learn more, see [Application Insights API for custom events and metrics](./api-custom-events-metrics.md).
37
38
@@ -165,4 +166,4 @@ The details depend on the type of project. For a web application:
165
166
166
167
## Next steps
167
168
168
-
Learn how to enable autoinstrumentation application monitoring for your [.NET Core](./azure-web-apps-net-core.md), [.NET](./azure-web-apps-net.md), [Java](./azure-web-apps-java.md), or [Nodejs](./azure-web-apps-nodejs.md) application running on App Service.
169
+
Learn how to enable autoinstrumentation application monitoring for your [.NET Core](./azure-web-apps-net-core.md), [.NET](./azure-web-apps-net.md), [Java](./azure-web-apps-java.md), [Nodejs](./azure-web-apps-nodejs.md), or [Python](./azure-web-apps-python.md) application running on App Service.
|Azure App Service on Windows - Publish as Code |[:white_check_mark::link:](azure-web-apps-net.md) ¹ |[:white_check_mark::link:](azure-web-apps-net-core.md) ¹ |[:white_check_mark::link:](azure-web-apps-java.md) ¹ |[:white_check_mark::link:](azure-web-apps-nodejs.md) ¹ |:x:|
36
36
|Azure App Service on Windows - Publish as Docker |[:white_check_mark::link:](https://azure.github.io/AppService/2022/04/11/windows-containers-app-insights-preview.html) ² |[:white_check_mark::link:](https://azure.github.io/AppService/2022/04/11/windows-containers-app-insights-preview.html) ² |[:white_check_mark::link:](https://azure.github.io/AppService/2022/04/11/windows-containers-app-insights-preview.html) ² |[:white_check_mark::link:](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/public-preview-application-insights-auto-instrumentation-for/ba-p/3947971) ² |:x:|
37
-
|Azure App Service on Linux - Publish as Code |:x:|[:white_check_mark::link:](azure-web-apps-net-core.md?tabs=linux) ¹ |[:white_check_mark::link:](azure-web-apps-java.md) ¹ |[:white_check_mark::link:](azure-web-apps-nodejs.md?tabs=linux)|:x:|
37
+
|Azure App Service on Linux - Publish as Code |:x:|[:white_check_mark::link:](azure-web-apps-net-core.md?tabs=linux) ¹ |[:white_check_mark::link:](azure-web-apps-java.md) ¹ |[:white_check_mark::link:](azure-web-apps-nodejs.md?tabs=linux)|[:white_check_mark::link:](azure-web-apps-python.md?tabs=linux) ²|
38
38
|Azure App Service on Linux - Publish as Docker |:x:|[:white_check_mark::link:](azure-web-apps-net-core.md?tabs=linux)|[:white_check_mark::link:](azure-web-apps-java.md)|[:white_check_mark::link:](azure-web-apps-nodejs.md?tabs=linux)|:x:|
@@ -54,7 +54,7 @@ Links are provided to more information for each supported scenario.
54
54
55
55
## JavaScript (Web) SDK Loader Script injection by configuration
56
56
57
-
When using supported SDKs, you can enable SDK injection in configuration to automatically inject JavaScript (Web) SDK Loader Script onto each page.
57
+
When using supported Software Development Kits (SDKs), you can enable SDK injection in configuration to automatically inject JavaScript (Web) SDK Loader Script onto each page.
Copy file name to clipboardExpand all lines: includes/azure-monitor-app-insights-azure-web-apps-arm-automation.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,20 +37,23 @@ For an example of a Resource Manager template with application settings configur
37
37
38
38
### Automate the creation of an Application Insights resource and link to your newly created App Service resource
39
39
40
-
To create a Resource Manager template with all the default Application Insights settings configured, begin the process as if you were going to create a new web app with Application Insights enabled.
40
+
To create a Resource Manager template with the default Application Insights settings, begin the process as if you were going to create a new web app with Application Insights enabled.
41
41
42
42
1. Create a new App Service resource with your desired web app information. Enable Application Insights on the **Monitoring** tab.
43
43
44
44
1. Select **Review + create**. Then select **Download a template for automation**.
45
45
46
-
:::image type="content" source="../articles/azure-monitor/app/media/azure-web-apps/create-web-app.png" alt-text="Screenshot that shows the App Service web app creation menu." :::
46
+
:::image type="content" source="../articles/azure-monitor/app/media/azure-web-apps/create-web-app.png" alt-text="Screenshot that shows the App Service web app creation menu." lightbox="../articles/azure-monitor/app/media/azure-web-apps/create-web-app.png":::
47
47
48
48
This option generates the latest Resource Manager template with all required settings configured.
49
49
50
-
:::image type="content" source="../articles/azure-monitor/app/media/azure-web-apps/arm-template.png" alt-text="Screenshot that shows an App Service web app template." border="false":::
50
+
:::image type="content" source="../articles/azure-monitor/app/media/azure-web-apps/arm-template.png" alt-text="Screenshot that shows an App Service web app template." border="false" lightbox="../articles/azure-monitor/app/media/azure-web-apps/arm-template.png":::
51
51
52
52
In the following sample, replace all instances of `AppMonitoredSite` with your site name:
53
53
54
+
> [!NOTE]
55
+
> If using Windows, set `ApplicationInsightsAgent_EXTENSION_VERSION` to `~2`. If using Linux, set `ApplicationInsightsAgent_EXTENSION_VERSION` to `~3`.
56
+
54
57
```json
55
58
{
56
59
"resources": [
@@ -152,6 +155,9 @@ To enable the application monitoring through PowerShell, only the underlying app
152
155
153
156
[!INCLUDE [updated-for-az](updated-for-az.md)]
154
157
158
+
> [!NOTE]
159
+
> If using Windows, set ApplicationInsightsAgent_EXTENSION_VERSION to `~2`. If using Linux, set ApplicationInsightsAgent_EXTENSION_VERSION to `~3`.
0 commit comments