Skip to content

Commit 5745871

Browse files
committed
Update app service rp integration
1 parent 35d97c9 commit 5745871

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

articles/app-service/monitor-app-service.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,57 +42,57 @@ The following table lists monitoring methods to use for different scenarios.
4242

4343
### Application Insights
4444

45-
Application Insights is an Azure Monitor feature that helps you monitor availability, performance, and usage for your web app. For supported App Service stacks, you can enable Application Insights from the Azure portal without changing your code. If you need custom telemetry, unsupported hosting scenarios, or more control over configuration, use [manual instrumentation](/azure/azure-monitor/app/opentelemetry-overview). For more information about Application Insights, see [Application Insights overview](/azure/azure-monitor/app/app-insights-overview).
45+
Application Insights is an Azure Monitor feature that helps you monitor availability, performance, and usage for your web app. For supported App Service stacks, you can enable Application Insights from the Azure portal without changing your code. If you need custom telemetry, unsupported hosting scenarios, or more control over configuration, [instrument through code](/azure/azure-monitor/app/opentelemetry-enable). For more information about Application Insights, see [Application Insights overview](/azure/azure-monitor/app/app-insights-overview).
4646

4747
> [!NOTE]
4848
> Use a connection string to connect your app to Application Insights. For more information, see [Connection strings in Application Insights](/azure/azure-monitor/app/connection-strings).
4949
5050
To enable Application Insights for any supported language, open your app in the Azure portal, select **Application Insights** > **Enable**, create or select an Application Insights resource, and then select **Apply monitoring settings**. App Service restarts the app.
5151

52-
Don't enable App Service autoinstrumentation and code-based instrumentation for the same app. If you see duplicate telemetry or missing data, see [Troubleshoot Application Insights integration with Azure App Service](/troubleshoot/azure/azure-monitor/app-insights/telemetry/troubleshoot-app-service-issues).
53-
54-
## [ASP.NET Core](#tab/aspnetcore)
52+
#### [ASP.NET Core](#tab/aspnetcore)
5553

5654
Use **Recommended** to collect telemetry. Use **Disabled** to turn off App Service autoinstrumentation for ASP.NET Core.
5755

5856
> [!NOTE]
5957
> Only .NET [Long Term Support](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) (LTS) releases are supported. [Trim self-contained deployments](/dotnet/core/deploying/trimming/trim-self-contained) aren't supported. Use [manual instrumentation](/azure/azure-monitor/app/opentelemetry-overview) instead.
6058
61-
## [.NET](#tab/net)
59+
#### [.NET](#tab/net)
6260

6361
Use **Recommended** or **Basic** for ASP.NET apps.
6462

6563
- **Basic** collects usage trends, correlation from availability results to transactions, host-process unhandled exceptions, and more accurate application performance monitoring (APM) metrics under load when sampling is enabled.
6664
- **Recommended** includes **Basic** and adds CPU, memory, and I/O trends plus correlation across request and dependency boundaries.
6765

68-
## [Java](#tab/java)
66+
#### [Java](#tab/java)
6967

7068
App Service adds the Application Insights Java 3.x agent and starts collecting telemetry.
7169

7270
For Spring Boot native image apps, use the [Azure Monitor OpenTelemetry Distro / Application Insights in Spring Boot native image Java application](https://aka.ms/AzMonSpringNative) instead.
7371

7472
For agent configuration, see [Configuration options: Azure Monitor Application Insights for Java](/azure/azure-monitor/app/java-standalone-config). To add custom telemetry, see [Add, modify, and filter telemetry](/azure/azure-monitor/app/opentelemetry-add-modify?tabs=java#modify-telemetry).
7573

76-
## [Node.js](#tab/nodejs)
74+
#### [Node.js](#tab/nodejs)
7775

7876
App Service supports Node.js autoinstrumentation on Linux for code-based apps and custom containers, and on Windows for code-based apps. This integration is in public preview.
7977

8078
To configure the attached agent, set `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT` or `APPLICATIONINSIGHTS_CONFIGURATION_FILE` in App Service app settings. For supported options, see [Node.js configuration](https://github.com/microsoft/ApplicationInsights-node.js#configuration).
8179

82-
## [Python](#tab/python)
80+
#### [Python](#tab/python)
8381

8482
Python autoinstrumentation is supported for Python 3.9 through 3.13 on Linux App Service apps that are deployed as code. Custom containers aren't supported.
8583

8684
Live Metrics isn't available for App Service Python autoinstrumentation. If you need Live Metrics, use the [Azure Monitor OpenTelemetry Distro](/azure/azure-monitor/app/opentelemetry-enable?tabs=python).
8785

88-
App Service collects logs from the root logger and autoinstruments common libraries, including Django, FastAPI, Flask, psycopg2, requests, urllib, and urllib3.
86+
App Service collects logs from the root logger and autoinstruments common libraries, including `Django`, `FastAPI`, `Flask`, `psycopg2`, `requests`, `urllib`, and `urllib3`.
8987

9088
For Django apps, set `DJANGO_SETTINGS_MODULE` in your App Service app settings.
9189

92-
To collect more telemetry from other libraries, add supported OpenTelemetry community instrumentation libraries to your app's `requirements.txt` file. App Service detects installed instrumentations automatically. For more information, see [OpenTelemetry community instrumentations](https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation).
90+
To collect telemetry from other libraries, add supported OpenTelemetry community instrumentation libraries to your app's `requirements.txt` file. App Service detects installed instrumentations automatically. For more information, see [OpenTelemetry community instrumentations](https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation).
9391

9492
To configure Python autoinstrumentation, set [OpenTelemetry environment variables](https://opentelemetry.io/docs/reference/specification/sdk-environment-variables/) in App Service app settings.
9593

94+
---
95+
9696
[!INCLUDE [horz-monitor-resource-types](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)]
9797
For more information about the resource types for App Service, see [App Service monitoring data reference](monitor-app-service-reference.md).
9898

@@ -102,10 +102,10 @@ For more information about the resource types for App Service, see [App Service
102102
[!INCLUDE [horz-monitor-platform-metrics](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)]
103103
For a list of available metrics for App Service, see [App Service monitoring data reference](monitor-app-service-reference.md#metrics).
104104

105-
For help understanding metrics in App Service, see [Metrics](web-sites-monitor.md#understand-metrics). Metrics can be viewed by aggregates on data (such as average, max, min), instances, time range, and other filters. Metrics can monitor performance, memory, CPU, and other attributes.
105+
For help understanding metrics in App Service, see [Metrics](web-sites-monitor.md#understand-metrics). View metrics by aggregate (such as average, max, or min), instance, time range, and other filters. Metrics can monitor performance, memory, CPU, and other attributes.
106106

107107
[!INCLUDE [horz-monitor-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)]
108-
For the available resource log categories, their associated Log Analytics tables, and the logs schemas for App Service, see [App Service monitoring data reference](monitor-app-service-reference.md#resource-logs).
108+
For the available resource log categories, their associated Log Analytics tables, and the schemas for App Service, see [App Service monitoring data reference](monitor-app-service-reference.md#resource-logs).
109109

110110
[!INCLUDE [audit log categories tip](./includes/azure-monitor-log-category-groups-tip.md)]
111111

@@ -134,7 +134,7 @@ To view the properties and schema for App Service events, see [Azure App Service
134134

135135
## Log stream (via App Service Logs)
136136

137-
Azure provides built-in diagnostics to assist during testing and development to debug an App Service app. [Log stream](troubleshoot-diagnostic-logs.md#stream-logs) can be used to get quick access to output and errors written by your application, and logs from the web server. These are standard output/error logs in addition to web server logs.
137+
Azure provides built-in diagnostics to assist during testing and development to debug an App Service app. [Log stream](troubleshoot-diagnostic-logs.md#stream-logs) can be used to get quick access to output and errors written by your application, and logs from the web server. This data contains standard output/error logs in addition to web server logs.
138138

139139
[!INCLUDE [horz-monitor-analyze-data](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-analyze-data.md)]
140140

@@ -177,7 +177,7 @@ See [Azure Monitor queries for App Service](https://github.com/microsoft/AzureMo
177177

178178
### Quotas and alerts
179179

180-
Apps that are hosted in App Service are subject to certain limits on the resources they can use. The limits are defined by the App Service plan that's associated with the app. Metrics for an app or an App Service plan can be hooked up to alerts. To learn more, see [Quotas](web-sites-monitor.md#understand-quotas).
180+
Apps that are hosted in App Service are subject to certain limits on the resources they can use. The App Service plan associated with the app defines these limits. Metrics for an app or an App Service plan can be hooked up to alerts. To learn more, see [Quotas](web-sites-monitor.md#understand-quotas).
181181

182182
### App Service alert rules
183183

0 commit comments

Comments
 (0)