Skip to content

Commit 76ddbb9

Browse files
committed
add some info
1 parent f90a077 commit 76ddbb9

File tree

2 files changed

+28
-104
lines changed

2 files changed

+28
-104
lines changed
Lines changed: 19 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,64 @@
11
---
22
title: Monitor Azure App Service
33
description: Start here to learn how to monitor Azure App Service.
4-
ms.date: 02/15/2024
4+
ms.date: 03/02/2024
55
ms.custom: horz-monitor
66
ms.topic: conceptual
77
author: msangapu-msft
88
ms.author: msangapu
99
ms.service: app-service
1010
---
1111

12-
<!--
13-
IMPORTANT
14-
To make this template easier to use, first:
15-
1. Search and replace App Service with the official name of your service.
16-
2. Search and replace app-service with the service name to use in GitHub filenames.-->
12+
# Monitor Azure App Service
1713

18-
<!-- VERSION 3.0 2024_01_07
19-
For background about this template, see https://review.learn.microsoft.com/en-us/help/contribute/contribute-monitoring?branch=main -->
14+
[!INCLUDE [horz-monitor-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)]
2015

21-
<!-- Most services can use the following sections unchanged. The sections use #included text you don't have to maintain, which changes when Azure Monitor functionality changes. Add info into the designated service-specific places if necessary. Remove #includes or template content that aren't relevant to your service.
16+
## App Service monitoring
2217

23-
At a minimum your service should have the following two articles:
18+
On the Azure portal page for your web app, you can select **Diagnose and solve problems** from the left nagivation to access complete **App Service Diagnostics** for your app. From this page, you can:
2419

25-
1. The primary monitoring article (based on this template)
26-
- Title: "Monitor App Service"
27-
- TOC title: "Monitor"
28-
- Filename: "monitor-app-service.md"
20+
- Check app availability and performance.
21+
- Find out if your app service is configured correctly.
22+
- Conduct risk assessments and run proactive mitigation tools.
23+
- Load test your app.
2924

30-
2. A reference article that lists all the metrics and logs for your service (based on the template data-reference-template.md).
31-
- Title: "App Service monitoring data reference"
32-
- TOC title: "Monitoring data reference"
33-
- Filename: "monitor-app-service-reference.md".
34-
-->
25+
For more information about the App Service diagnostics tool, see [Azure App Service diagnostics overview](overview-diagnostics.md).
3526

36-
# Monitor Azure App Service
27+
App Service provides built-in diagnostics logging to assist with debugging apps. See [Stream diagnostics logs](troubleshoot-diagnostic-logs.md#stream-logs) for more information about the built-in logs.
3728

38-
<!-- Intro. Required. -->
39-
[!INCLUDE [horz-monitor-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)]
29+
You can also use Azure Health check to monitor App Service instances. For more information, see [Monitor App Service instances using Health check](monitor-instances-health-check.md).
4030

41-
Azure App Service also provides built-in diagnostics to assist with debugging apps. See [Enable diagnostics logging](troubleshoot-diagnostic-logs.md) for more information on enabling the built-in logs. To monitor App Service instances, see [Monitor App Service instances using Health check](monitor-instances-health-check.md).
31+
For a complete overview and summary of App Service monitoring options, see [Azure App Service monitoring overview](overview-monitoring.md).
4232

43-
<!-- ## Insights. Optional section. If your service has insights, add the following include and information. -->
4433
[!INCLUDE [horz-monitor-insights](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-insights.md)]
45-
<!-- Insights service-specific information. Add brief information about what your Azure Monitor insights provide here. You can refer to another article that gives details or add a screenshot. -->
34+
4635
### Application Insights
4736

48-
Application Insights monitors the availability, performance, and usage of your web applications. It leverages the powerful data analysis platform in Azure Monitor to provide you with deep insights into your application's operations. It enables you to diagnose errors without waiting for a user to report them. Application Insights includes connection points to a variety of development tools and integrates with Visual Studio to support your DevOps processes. Learn more about Application Insights in the [Application Monitoring for App Service Overview](/azure/azure-monitor/app/azure-web-apps).
37+
Application Insights leverages the powerful data analysis platform in Azure Monitor to provide you with deep insights into your application's operations. Application Insights monitors the availability, performance, and usage of your web applications, so you can identify and diagnose errors without waiting for a user to report them.
38+
39+
Application Insights includes connection points to a variety of development tools and integrates with Visual Studio to support your DevOps processes. For more information, see [Application monitoring for App Service](/azure/azure-monitor/app/azure-web-apps).
4940

50-
<!-- ## Resource types. Required section. -->
5141
[!INCLUDE [horz-monitor-resource-types](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)]
5242
For more information about the resource types for App Service, see [App Service monitoring data reference](monitor-app-service-reference.md).
5343

54-
<!-- ## Data storage. Required section. Optionally, add service-specific information about storing your monitoring data after the include. -->
5544
[!INCLUDE [horz-monitor-data-storage](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)]
56-
<!-- Add service-specific information about storing monitoring data here, if applicable. For example, SQL Server stores other monitoring data in its own databases. -->
5745

58-
<!-- METRICS SECTION START ------------------------------------->
59-
60-
<!-- ## Platform metrics. Required section.
61-
- If your service doesn't collect platform metrics, use the following include: [!INCLUDE [horz-monitor-no-platform-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-no-platform-metrics.md)]
62-
- If your service collects platform metrics, add the following include, statement, and service-specific information as appropriate. -->
6346
[!INCLUDE [horz-monitor-platform-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)]
6447
For a list of available metrics for App Service, see [App Service monitoring data reference](monitor-app-service-reference.md#metrics).
65-
<!-- Platform metrics service-specific information. Add service-specific information about your platform metrics here.-->
66-
67-
<!-- ## Prometheus/container metrics. Optional. If your service uses containers/Prometheus metrics, add the following include and information.
68-
[!INCLUDE [horz-monitor-container-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-container-metrics.md)]
69-
<!-- Add service-specific information about your container/Prometheus metrics here.-->
70-
71-
<!-- ## System metrics. Optional. If your service uses system-imported metrics, add the following include and information.
72-
[!INCLUDE [horz-monitor-system-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-system-metrics.md)]
73-
<!-- Add service-specific information about your system-imported metrics here.-->
74-
75-
<!-- ## Custom metrics. Optional. If your service uses custom imported metrics, add the following include and information.
76-
[!INCLUDE [horz-monitor-custom-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-custom-metrics.md)]
77-
<!-- Custom imported service-specific information. Add service-specific information about your custom imported metrics here.-->
78-
79-
<!-- ## Non-Azure Monitor metrics. Optional. If your service uses any non-Azure Monitor based metrics, add the following include and information.
80-
[!INCLUDE [horz-monitor-custom-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-non-monitor-metrics.md)]
81-
<!-- Non-Monitor metrics service-specific information. Add service-specific information about your non-Azure Monitor metrics here.-->
82-
83-
<!-- METRICS SECTION END ------------------------------------->
8448

85-
<!-- LOGS SECTION START -------------------------------------->
86-
87-
<!-- ## Resource logs. Required section. -->
8849
[!INCLUDE [horz-monitor-resource-logs](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)]
8950
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).
90-
<!-- Resource logs service-specific information. Add service-specific information about your resource logs here. -->
51+
9152
[!INCLUDE [audit log categories tip](../azure-monitor/includes/azure-monitor-log-category-groups-tip.md)]
9253

93-
<!-- ## Activity log. Required section. Optionally, add service-specific information about your activity log after the include. -->
9454
[!INCLUDE [horz-monitor-activity-log](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-activity-log.md)]
95-
<!-- Activity log service-specific information. Add service-specific information about your activity log here. -->
96-
97-
<!-- ## Imported logs. Optional section. If your service uses imported logs, add the following include and information.
98-
[!INCLUDE [horz-monitor-imported-logs](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-imported-logs.md)]
99-
<!-- Add service-specific information about your imported logs here. -->
100-
101-
<!-- ## Other logs. Optional section.
102-
If your service has other logs that aren't resource logs or in the activity log, add information that states what they are and what they cover here. You can describe how to route them in a later section. -->
103-
104-
<!-- LOGS SECTION END ------------------------------------->
105-
106-
<!-- ANALYSIS SECTION START -------------------------------------->
10755

108-
<!-- ## Analyze data. Required section. -->
10956
[!INCLUDE [horz-monitor-analyze-data](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-analyze-data.md)]
11057

111-
<!-- ### External tools. Required section. -->
11258
[!INCLUDE [horz-monitor-external-tools](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-external-tools.md)]
11359

114-
<!-- ### Sample Kusto queries. Required section. If you have sample Kusto queries for your service, add them after the include. -->
11560
[!INCLUDE [horz-monitor-kusto-queries](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-kusto-queries.md)]
116-
<!-- Add sample Kusto queries for your service here. -->
61+
11762
The following sample query can help you monitor app logs using `AppServiceAppLogs`:
11863

11964
```Kusto
@@ -143,24 +88,10 @@ myHttp | join myConsole on TimeGen | project TimeGen, CsUriStem, ScStatus, Resul
14388

14489
See [Azure Monitor queries for App Service](https://github.com/microsoft/AzureMonitorCommunity/tree/master/Azure%20Services/App%20Services/Queries) for more sample queries.
14590

146-
<!-- ### App Service service-specific analytics. Optional section.
147-
Add short information or links to specific articles that outline how to analyze data for your service. -->
148-
149-
<!-- ANALYSIS SECTION END ------------------------------------->
150-
151-
<!-- ALERTS SECTION START -------------------------------------->
152-
153-
<!-- ## Alerts. Required section. -->
15491
[!INCLUDE [horz-monitor-alerts](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-alerts.md)]
15592

156-
<!-- ONLY if applications run on your service that work with Application Insights, add the following include. -->
15793
[!INCLUDE [horz-monitor-insights-alerts](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-insights-alerts.md)]
15894

159-
<!-- ### App Service alert rules. Required section.
160-
**MUST HAVE** service-specific alert rules. Include useful alerts on metrics, logs, log conditions, or activity log.
161-
Fill in the following table with metric and log alerts that would be valuable for your service. Change the format as necessary for readability. You can instead link to an article that discusses your common alerts in detail.
162-
Ask your PMs if you don't know. This information is the BIGGEST request we get in Azure Monitor, so don't avoid it long term. People don't know what to monitor for best results. Be prescriptive. -->
163-
16495
### App Service alert rules
16596

16697
The following table lists common and recommended alert rules for App Service.
@@ -175,14 +106,9 @@ The following table lists common and recommended alert rules for App Service.
175106
| Activity Log | Restart Web App| When app is restarted|
176107
| Activity Log | Stop Web App| When app is stopped|
177108

178-
<!-- ### Advisor recommendations. Required section. -->
179109
[!INCLUDE [horz-monitor-advisor-recommendations](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-advisor-recommendations.md)]
180-
<!-- Add any service-specific advisor recommendations or screenshots here. -->
181-
182-
<!-- ALERTS SECTION END -------------------------------------->
183110

184111
## Related content
185-
<!-- You can change the wording and add more links if useful. -->
186112

187113
- See [App Service monitoring data reference](monitor-app-service-reference.md) for a reference of the metrics, logs, and other important values created for App Service.
188114
- See [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for general details on monitoring Azure resources.

articles/app-service/toc.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,25 +94,23 @@
9494
href: reference-app-settings.md
9595
- name: Logs and monitoring
9696
items:
97-
- name: Monitoring overview
97+
- name: Monitor
98+
href: monitor-app-service.md
99+
- name: Monitoring data reference
100+
href: monitor-app-service-reference.md
101+
- name: Azure Monitor tutorial
102+
href: tutorial-troubleshoot-monitor.md
103+
- name: Monitoring options
98104
href: overview-monitoring.md
99-
- name: Enable diagnostic logs
105+
- name: Stream diagnostic logs
100106
href: troubleshoot-diagnostic-logs.md
101107
- name: Open SSH session to a web app in a container
102108
href: configure-linux-open-ssh-session.md
103-
- name: Monitor with Azure Monitor
104-
items:
105-
- name: Azure Monitor tutorial
106-
href: tutorial-troubleshoot-monitor.md
107-
- name: Monitor
108-
href: monitor-app-service.md
109-
- name: Monitoring data reference
110-
href: monitor-app-service-reference.md
111109
- name: Monitor instance health
112110
href: monitor-instances-health-check.md
113111
- name: About App Service diagnostics tool
114112
href: overview-diagnostics.md
115-
- name: About Quotas & alerts
113+
- name: About quotas & alerts
116114
href: web-sites-monitor.md
117115
- name: Domains and certificates
118116
items:

0 commit comments

Comments
 (0)