Skip to content

Commit c1c15fe

Browse files
authored
Merge pull request #265491 from v-thepet/app-monitor
Azure Monitor horizontals - App Service
2 parents bdee9ad + 0ed710f commit c1c15fe

File tree

3 files changed

+123
-87
lines changed

3 files changed

+123
-87
lines changed
Lines changed: 79 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,81 @@
11
---
2-
title: Monitoring App Service data reference
3-
description: Important reference material needed when you monitor App Service
4-
author: msangapu-msft
2+
title: Azure App Service monitoring data reference
3+
description: This article contains important reference material you need when you monitor Azure App Service.
4+
ms.date: 03/04/2024
5+
ms.custom: horz-monitor
56
ms.topic: reference
7+
author: msangapu-msft
68
ms.author: msangapu
79
ms.service: app-service
8-
ms.custom: subject-monitoring
9-
ms.date: 06/29/2023
1010
---
1111

12-
# Monitoring App Service data reference
12+
# Azure App Service monitoring data reference
13+
14+
[!INCLUDE [horz-monitor-ref-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)]
1315

14-
This reference applies to the use of Azure Monitor for monitoring App Service. See [Monitoring App Service](monitor-app-service.md) for details on collecting and analyzing monitoring data for App Service.
16+
See [Monitor Azure App Service](monitor-app-service.md) for details on the data you can collect for Azure App Service and how to use it.
1517

16-
## Metrics
18+
[!INCLUDE [horz-monitor-ref-metrics-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)]
1719

18-
This section lists all the automatically collected platform metrics collected for App Service.
20+
### Supported metrics for Microsoft.Web
21+
22+
The following tables list the automatically collected platform metrics for App Service.
1923

2024
|Metric Type | Resource Provider / Type Namespace<br/> and link to individual metrics |
2125
|-------|-----|
22-
| App Service Plans | [Microsoft.Web/serverfarms](../azure-monitor/essentials/metrics-supported.md#microsoftwebserverfarms)
23-
| Web apps | [Microsoft.Web/sites](../azure-monitor/essentials/metrics-supported.md#microsoftwebsites) |
24-
| Staging slots | [Microsoft.Web/sites/slots](../azure-monitor/essentials/metrics-supported.md#microsoftwebsitesslots)
25-
| App Service Environment | [Microsoft.Web/hostingEnvironments](../azure-monitor/essentials/metrics-supported.md#microsoftwebhostingenvironments)
26-
| App Service Environment Front-end | [Microsoft.Web/hostingEnvironments/multiRolePools](../azure-monitor/essentials/metrics-supported.md#microsoftwebhostingenvironmentsmultirolepools)
26+
| Web apps | [Microsoft.Web/sites](/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics)
27+
| Container apps | [Microsoft.Web/containerapps](/azure/azure-monitor/reference/supported-metrics/microsoft-web-containerapps-metrics)
28+
| App Service Plans | [Microsoft.Web/serverfarms](/azure/azure-monitor/reference/supported-metrics/microsoft-web-serverfarms-metrics)
29+
| Staging slots | [Microsoft.Web/sites/slots](/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-slots-metrics)
30+
| Static sites | [Microsoft.Web/staticsites](/azure/azure-monitor/reference/supported-metrics/microsoft-web-staticsites-metrics)
31+
| App Service Environment | [Microsoft.Web/hostingEnvironments](/azure/azure-monitor/reference/supported-metrics/microsoft-web-hostingenvironments-metrics)
32+
| App Service Environment Front-end | [Microsoft.Web/hostingEnvironments/multiRolePools](/azure/azure-monitor/reference/supported-metrics/microsoft-web-hostingenvironments-multirolepools-metrics)
33+
| App Service Environment Worker Pools | [Microsoft.Web/hostingEnvironments/workerPools](/azure/azure-monitor/reference/supported-metrics/microsoft-web-hostingenvironments-workerpools-metrics)
34+
35+
>[!NOTE]
36+
>Azure App Service, Functions, and Logic Apps share the Microsoft.Web/sites namespace dating back to when they were a single service. Refer to the **Metric** column in the [Microsoft.Web/sites](/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics) table to see which metrics apply to which services. The **Metrics** interface in the Azure portal for each service shows only the metrics that apply to that service.
37+
38+
>[!NOTE]
39+
>App Service Plan metrics are available only for plans in *Basic*, *Standard*, and *Premium* tiers.
2740
41+
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
42+
[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)]
2843

29-
For more information, see a list of [all platform metrics supported in Azure Monitor](../azure-monitor/essentials/metrics-supported.md).
44+
Some metrics in the following namespaces have the listed dimensions:
3045

46+
**Microsoft.Web/sites**
3147

32-
## Metric Dimensions
48+
- Instance
49+
- workflowName
50+
- status
51+
- accountName
3352

34-
For more information on what metric dimensions are, see [Multi-dimensional metrics](../azure-monitor/essentials/data-platform-metrics.md#multi-dimensional-metrics).
53+
**Microsoft.Web/containerapps**
3554

36-
App Service doesn't have any metrics that contain dimensions.
55+
- revisionName
56+
- deploymentName
57+
- podName
58+
- statusCodeCategory
59+
- statusCode
3760

38-
## Resource logs
61+
**Microsoft.Web/serverFarms**<br>
62+
**Microsoft.Web/sites/slots**<br>
63+
**Microsoft.Web/hostingEnvironments**<br>
64+
**Microsoft.Web/hostingenvironments/multirolepools**<br>
65+
**Microsoft.Web/hostingenvironments/workerpools**
3966

40-
This section lists the types of resource logs you can collect for App Service.
67+
- Instance
68+
69+
[!INCLUDE [horz-monitor-ref-resource-logs](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)]
70+
71+
### Supported resource logs for Microsoft.Web
72+
73+
- [Microsoft.Web/hostingEnvironments](/azure/azure-monitor/reference/supported-logs/microsoft-web-hostingenvironments-logs)
74+
- [Microsoft.Web/sites](/azure/azure-monitor/reference/supported-logs/microsoft-web-sites-logs)
75+
- [Microsoft.Web/sites/slots](/azure/azure-monitor/reference/supported-logs/microsoft-web-sites-slots-logs)
76+
- [Microsoft.Web/staticsites](/azure/azure-monitor/reference/supported-logs/microsoft-web-staticsites-logs)
77+
78+
The following table lists more information about resource logs you can collect for App Service.
4179

4280
| Log type | Windows | Windows Container | Linux | Linux Container | Description |
4381
|-|-|-|-|-|-|
@@ -53,15 +91,27 @@ This section lists the types of resource logs you can collect for App Service.
5391

5492
<sup>1</sup> For Java SE apps, add "$WEBSITE_AZMON_PREVIEW_ENABLED" to the app settings and set it to 1 or to true.
5593

56-
For reference, see a list of [all resource logs category types supported in Azure Monitor](../azure-monitor/essentials/resource-logs-schema.md).
57-
58-
## Azure Monitor Logs tables
94+
[!INCLUDE [horz-monitor-ref-logs-tables](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]
95+
### App Services
5996

60-
Azure App Service uses Kusto tables from Azure Monitor Logs. You can query these tables with Log analytics. For a list of App Service tables used by Kusto, see the [Azure Monitor Logs table reference - App Service tables](/azure/azure-monitor/reference/tables/tables-resourcetype#app-services).
97+
Microsoft.Web/sites
98+
- [AzureActivity](/azure/azure-monitor/reference/tables/azureactivity)
99+
- [LogicAppWorkflowRuntime](/azure/azure-monitor/reference/tables/logicappworkflowruntime)
100+
- [AppServiceAuthenticationLogs](/azure/azure-monitor/reference/tables/appserviceauthenticationlogs)
101+
- [AppServiceServerlessSecurityPluginData](/azure/azure-monitor/reference/tables/appserviceserverlesssecurityplugindata)
102+
- [AzureMetrics](/azure/azure-monitor/reference/tables/azuremetrics)
103+
- [AppServiceAppLogs](/azure/azure-monitor/reference/tables/appserviceapplogs)
104+
- [AppServiceAuditLogs](/azure/azure-monitor/reference/tables/appserviceauditlogs)
105+
- [AppServiceConsoleLogs](/azure/azure-monitor/reference/tables/appserviceconsolelogs)
106+
- [AppServiceFileAuditLogs](/azure/azure-monitor/reference/tables/appservicefileauditlogs)
107+
- [AppServiceHTTPLogs](/azure/azure-monitor/reference/tables/appservicehttplogs)
108+
- [FunctionAppLogs](/azure/azure-monitor/reference/tables/functionapplogs)
109+
- [AppServicePlatformLogs](/azure/azure-monitor/reference/tables/appserviceplatformlogs)
110+
- [AppServiceIPSecAuditLogs](/azure/azure-monitor/reference/tables/appserviceipsecauditlogs)
61111

62-
## Activity log
112+
[!INCLUDE [horz-monitor-ref-activity-log](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)]
63113

64-
The following table lists common operations related to App Service that may be created in the Activity log. This is not an exhaustive list.
114+
The following table lists common activity log operations related to App Service. This list isn't exhaustive. For all Microsoft.Web resource provider operations, see [Microsoft.Web resource provider operations](/azure/role-based-access-control/resource-provider-operations#microsoftweb).
65115

66116
| Operation | Description |
67117
|:---|:---|
@@ -83,9 +133,7 @@ The following table lists common operations related to App Service that may be c
83133
|Get Zipped Container Logs for Web App| Get container logs |
84134
|Restore Web App From Backup Blob| App restored from backup|
85135

86-
For more information on the schema of Activity Log entries, see [Activity Log schema](../azure-monitor/essentials/activity-log-schema.md).
87-
88-
## See Also
136+
## Related content
89137

90-
- See [Monitoring Azure App Service](monitor-app-service.md) for a description of monitoring Azure App Service.
91-
- See [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md) for details on monitoring Azure resources.
138+
- See [Monitor App Service](monitor-app-service.md) for a description of monitoring App Service.
139+
- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources.

0 commit comments

Comments
 (0)