Proposed Pull Request Change

title description services author ms.service ms.topic ms.date ms.author
Azure Monitor metrics for Application Gateway for Containers Learn how to use metrics to monitor performance of Application Gateway for Containers application-gateway mbender-ms azure-appgw-for-containers concept-article 07/21/2025 mbender
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Azure Monitor metrics for Application Gateway for Containers description: Learn how to use metrics to monitor performance of Application Gateway for Containers services: application-gateway author: mbender-ms ms.service: azure-appgw-for-containers ms.topic: concept-article ms.date: 07/21/2025 ms.author: mbender # Customer intent: As an IT operations manager, I want to monitor performance metrics for Application Gateway for Containers, so that I can ensure optimal application performance and troubleshoot issues effectively. --- # Metrics for Application Gateway for Containers Application Gateway for Containers publishes data points to [Azure Monitor](/azure/azure-monitor/overview) for the performance of your Application Gateway for Containers and backend instances. These data points are called metrics, and are numerical values in an ordered set of time-series data. Metrics describe some aspect of your application gateway at a particular time. If there are requests flowing through the Application Gateway, it measures and sends its metrics in 60-second intervals. If there are no requests flowing through the Application Gateway or no data for a metric, the metric isn't reported. For more information, see [Azure Monitor metrics](/azure/azure-monitor/essentials/data-platform-metrics). ## Metrics supported by Application Gateway for Containers | Metric Name | Description | Aggregation Type | Dimensions | | ----------- | ----------- | ---------------- | ---------- | | Backend Connection Timeouts | Count of requests that timed out waiting for a response from the backend target (includes all retry requests initiated from Application Gateway for Containers to the backend target) | Sum | Backend Service | | Backend Healthy Targets | Count of healthy backend targets | Avg | Backend Service | | Backend HTTP Response Status | HTTP response status returned by the backend target to Application Gateway for Containers | Sum | Backend Service, HTTP Response Code | | Connection Timeouts | Count of connections closed due to timeout between clients and Application Gateway for Containers | Sum | Frontend | | HTTP Response Status | HTTP response status returned by Application Gateway for Containers | Sum | Frontend, HTTP Response Code | | Total Connection Idle Timeouts | Count of connections closed, between client and Application Gateway for Containers frontend, due to exceeding idle timeout | Sum | Frontend | | Total Requests | Count of requests Application Gateway for Containers has served | Sum | Frontend | ## WAF Metrics supported by Application Gateway for Containers Metrics specific to requests processed by web application firewall functionality on Application Gateway for Containers. | Metric Name | Description | Aggregation Type | Dimensions | | ----------- | ----------- | ---------------- | ---------- | | WAF Custom Rule Matches | Count of custom rule matches | Sum | Action, Country/Region, Mode, Policy Name, Policy Scope, Rule Name | | WAF Managed Rule Matches | Count of total managed rule matches | Sum | Action, Country/Region, Mode, Policy Name, Policy Scope, Rule Group, Rule ID, Rule Set Name | | WAF Total Requests | Count of successful requests that WAF engine has served | Sum | Action, Country/Region, Method, Mode, Policy Name, Policy Scope | ## View Application Gateway for Containers metrics Use the following steps to view Application Gateway for Containers in the Azure portal. 1. Sign in to the [Azure portal](https://portal.azure.com) with your Azure account. 2. In **Search resources, service, and docs**, type **Application Gateways for Containers** and select your Application Gateway for Containers name. 3. Under **Monitoring**, select **Metrics**. 4. Next to **Chart Title**, enter a title for your metrics view. 5. **Scope** and **Metric Namespace** are is automatically populated. Under **Metric**, select a metric such as: **Total Requests**. For the **Total Requests** metric, the **Aggregation** is set to **Sum**. 6. Select **Add filter**. **Property** is set to **Frontend**. Choose the **=** (equals) **Operator**. 7. Enter values to use for filtering under **Values**. For example: - **frontend-primary:80** - **ingress-frontend:443** - **ingress-frontend:80** 8. Select the values you want to actively filter from the entries you create. 9. Choose **Apply Splitting**, select **Frontend**, and accept default values for **Limit** and **Sort**. See the following example: **Total Requests** ![Application Gateway for Containers metrics total requests](./media/application-gateway-for-containers-metrics/total-requests.png) The following are some other useful chart examples: **HTTP Response Status** In the HTTP response status example is shown, a filter can be applied to quickly identify trends on response codes returned to client requests. Optionally, a filter may be applied to further monitor a specific grouping of HTTP response codes. ![Application Gateway for Containers metrics HTTP response status](./media/application-gateway-for-containers-metrics/http-response-status.png) **Backend Health Targets** In the backend health targets example shown, the number of healthy backend targets increases from 1 to 2 for Kubernetes service _echo_ and then decreases to 1. This validates that Application Gateway for Containers is able to detect the new replica, begin load balancing to the replica, and then remove the replica when the replica count is decreased in Kubernetes. ![Application Gateway for Containers metrics backend healthy targets](./media/application-gateway-for-containers-metrics/backend-healthy-targets.png) ## Next steps - [Using Azure Log Analytics in Power BI](/power-bi/transform-model/log-analytics/desktop-log-analytics-overview) - [Configure Azure Log Analytics for Power BI](/power-bi/transform-model/log-analytics/desktop-log-analytics-configure) - [Visualize Azure AI Search Logs and Metrics with Power BI](/azure/search/search-monitor-logs-powerbi)
Success! Branch created successfully. Create Pull Request on GitHub
Error: