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/app-service/web-sites-monitor.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,26 @@
1
1
---
2
-
title: Quotas and Metrics
2
+
title: Azure App Service Quotas and Metrics
3
3
description: Learn how to monitor apps in Azure App Service by using the Azure portal. Understand the quotas and metrics that are reported.
4
-
5
4
ms.assetid: d273da4e-07de-48e0-b99d-4020d84a425e
6
5
ms.topic: article
7
-
ms.date: 06/29/2023
6
+
ms.date: 03/31/2025
8
7
ms.author: msangapu
9
8
author: msangapu-msft
9
+
#customer intent: As a app developer, I need to use quotas and metrics to support my team's web apps in Azure App Service.
10
10
---
11
11
# Azure App Service quotas and metrics
12
12
13
-
[Azure App Service](./overview.md) provides
14
-
built-in monitoring functionality for web, mobile, and API apps in the [Azure portal](https://portal.azure.com).
13
+
[Azure App Service](./overview.md) provides built-in monitoring functionality for web, mobile, and API apps in the [Azure portal](https://portal.azure.com).
15
14
16
15
In the portal, you can review *quotas* and *metrics* for an app and App Service plan. You can set up *alerts* and *autoscaling* rules based on metrics.
17
16
18
17
## <aname = "understand-quotas"></a> Quotas
19
18
20
-
Apps that are hosted in App Service are subject to certain limits on the resources that they can use. The App Service plan that's associated with the app defines the limits.
19
+
Apps that are hosted in App Service are subject to certain limits on the resources that they can use. The App Service plan for the app defines the limits.
If the app is hosted in a Free or Shared plan, quotas define the limits
25
-
on the resources that the app can use. Quotas for apps in a Free or Shared plan are:
23
+
If the app is hosted in a Free or Shared plan, quotas define the limits on the resources that the app can use. Quotas for apps in a Free or Shared plan are:
26
24
27
25
| Quota | Description |
28
26
| --- | --- |
@@ -32,7 +30,7 @@ on the resources that the app can use. Quotas for apps in a Free or Shared plan
32
30
|**Bandwidth**| The total amount of outgoing bandwidth allowed for this app in a day. This quota resets every 24 hours at midnight UTC. |
33
31
|**Filesystem**| The total amount of storage allowed. |
34
32
35
-
If the app is hosted in a Basic, Standard, or Premium plan, the limits on the resources that it can use are set by the *size* (small, medium, large) and *instance count* (1, 2, 3, and so on) of the App Service plan. The only quota applicable to apps that are hosted in a Basic, Standard, or Premium plan is **Filesystem**.
33
+
If the app is hosted in a Basic, Standard, or Premium plan, then the *size* and the *instance count* set the limits on the resources that the app can use. Size is small, medium, or large. Instance count is the number of instances. The only quota applicable to apps that are hosted in a Basic, Standard, or Premium plan is **Filesystem**.
36
34
37
35
For more information about the specific quotas, limits, and features available to the App Service tiers, see [Azure App Service limits](../azure-resource-manager/management/azure-subscription-service-limits.md#azure-app-service-limits).
38
36
@@ -42,7 +40,7 @@ If an app exceeds the **CPU (Short)**, **CPU (Day)**, or **Bandwidth** quota, th
42
40
43
41
:::image type="content" source="./media/web-sites-monitor/http403.png" alt-text="Screenshot that shows a 403 error message.":::
44
42
45
-
If the app exceeds its **Memory** quota, it's stopped temporarily.
43
+
If the app exceeds its **Memory** quota, it stops temporarily.
46
44
47
45
If app exceeds the **Filesystem** quota, any write operation fails. Write operation failures include any writes to logs.
48
46
@@ -55,7 +53,7 @@ Metrics provide information about the app's or the App Service plan's behavior.
55
53
For a list of available metrics for apps or for App Service plans, see [Supported metrics for Microsoft.Web](monitor-app-service-reference.md#supported-metrics-for-microsoftweb).
56
54
57
55
> [!NOTE]
58
-
> Metrics for an app include the requests to the app's Source Control Manager (SCM) site, also known as Kudu. This includes requests to view the site's log stream by using Kudu. Log-stream requests might span several minutes, which will affect the **Request Time** metrics. Be aware of this relationship when you're using these metrics with autoscale logic.
56
+
> Metrics for an app include the requests to the app's Source Control Manager (SCM) site, also known as Kudu. The requests include requests to view the site's log stream by using Kudu. Log-stream requests might span several minutes. This fact affects the **Request Time** metrics. Be aware of this relationship when you're using these metrics with autoscale logic.
59
57
>
60
58
> **HTTP Server Errors** records only requests that reach the back-end service (the workers that host the app). If the requests are failing at the front end, they're not recorded as HTTP server errors. You can use the [health check feature](./monitor-instances-health-check.md) and Application Insights availability tests for outside-in monitoring.
61
59
@@ -75,25 +73,25 @@ The service logs and aggregates metrics for an app and for an App Service plan.
75
73
76
74
To review the status of the quotas and metrics that affect an app, go to the [Azure portal](https://portal.azure.com).
77
75
78
-
To find quotas, select **Settings** > **Quotas**. On each chart, you can review this information about the quota:
76
+
To find quotas, go to your app. In the left menu, select **App Service Plan** > **Quotas**. On each chart, you can review this information about the quota:
79
77
80
78
- Name
81
79
- Reset interval
82
80
- Current limit
83
81
- Current value
84
82
85
-
:::image type="content" source="./media/web-sites-monitor/quotas.png" alt-text="Screenshot that shows quota charts in the Azure portal.":::
83
+
:::image type="content" source="./media/web-sites-monitor/quotas.png" alt-text="Screenshot that shows quota charts in the Azure portal." lightbox="./media/web-sites-monitor/quotas.png":::
86
84
87
-
You can access metrics directly from the resource **Overview** page. This page shows charts that represent some of the app metrics. Selecting any of those charts takes you to the **Metrics** view, where you can create custom charts, query various metrics, and much more.
85
+
You can access metrics directly from the resource **Overview** page. Select the **Monitoring** tab, which shows charts that represent some of the app metrics. Selecting any of those charts takes you to the **Metrics** view, where you can create custom charts, query various metrics, and much more.
88
86
89
-
:::image type="content" source="./media/web-sites-monitor/metrics.png" alt-text="Screenshot that shows a metric chart in the Azure portal.":::
87
+
:::image type="content" source="./media/web-sites-monitor/metrics.png" alt-text="Screenshot that shows a metric chart in the Azure portal." lightbox="./media/web-sites-monitor/metrics.png":::
90
88
91
89
To learn more about metrics, see [Azure Monitor data platform](/azure/azure-monitor/data-platform).
92
90
93
91
## Alerts and autoscale
94
92
95
93
Metrics for an app or an App Service plan can be connected to alerts. For more information, see [Alerts](monitor-app-service.md#alerts).
96
94
97
-
Apps hosted in Basic or higher App Service plans support autoscale. With autoscale, you can configure rules that monitor the App Service plan metrics. Rules can increase or decrease the instance count, which can provide additional resources as needed. Rules can also help you save money when the app is overprovisioned.
95
+
Apps hosted in Basic or higher App Service plans support autoscale. With autoscale, you can configure rules that monitor the App Service plan metrics. Rules can increase or decrease the instance count, which can provide more resources as needed. Rules can also help you save money when the app is overprovisioned.
98
96
99
97
For more information about autoscale, see [Get started with autoscale in Azure](/azure/azure-monitor/autoscale/autoscale-get-started) and [Best practices for autoscale](/azure/azure-monitor/autoscale/autoscale-best-practices).
0 commit comments