Skip to content

Commit ef79746

Browse files
committed
added latency alert examples
1 parent fcdfc58 commit ef79746

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

articles/storage/files/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@
191191
items:
192192
- name: Monitor Azure Files
193193
href: storage-files-monitoring.md
194+
- name: Analyze metrics
195+
href: analyze-files-metrics.md
196+
- name: Create alerts
197+
href: files-monitoring-alerts.md
194198
- name: Migrate
195199
items:
196200
- name: Migrate to Azure file shares

articles/storage/files/files-monitoring-alerts.md

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Monitoring Azure Files - Create alerts
2+
title: Create monitoring alerts for Azure Files
33
description: Use Azure Monitor to create alerts on throttling, capacity, and egress. Learn how to create an alert on high server latency.
44
author: khdownie
55
services: storage
66
ms.service: azure-file-storage
77
ms.topic: how-to
8-
ms.date: 09/05/2023
8+
ms.date: 09/06/2023
99
ms.author: kendownie
1010
ms.custom: monitoring
1111
---
1212

13-
# Monitoring Azure Files - Create alerts
13+
# Create monitoring alerts for Azure Files
1414

1515
Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues in your system before your customers notice them. You can set alerts on [metrics](../../azure-monitor/alerts/alerts-metric-overview.md), [logs](../../azure-monitor/alerts/alerts-unified-log.md), and the [activity log](../../azure-monitor/alerts/activity-log-alerts.md).
1616

@@ -69,14 +69,14 @@ To create an alert that will notify you if a file share is being throttled, foll
6969
5. For **premium file shares**, select the **Dimension name** drop-down and select **File Share**. For **standard file shares**, skip to step 7.
7070

7171
> [!NOTE]
72-
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Throttling alerts for standard file shares will be triggered if any file share within the storage account is throttled, and the alert will not identify which file share was throttled. Since per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
72+
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Throttling alerts for standard file shares will be triggered if any file share within the storage account is throttled, and the alert won't identify which file share was throttled. Because per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
7373
7474
6. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
7575

7676
7. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
7777

7878
> [!TIP]
79-
> If you are using a static threshold, the metric chart can help determine a reasonable threshold value if the file share is currently being throttled. If you're using a dynamic threshold, the metric chart will display the calculated thresholds based on recent data.
79+
> If you're using a static threshold, the metric chart can help determine a reasonable threshold value if the file share is currently being throttled. If you're using a dynamic threshold, the metric chart will display the calculated thresholds based on recent data.
8080
8181
8. Select the **Actions** tab to add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
8282

@@ -93,7 +93,7 @@ To create an alert that will notify you if a file share is being throttled, foll
9393
3. For **premium file shares**, select the **Dimension name** drop-down list, and then select **File Share**. For **standard file shares**, skip to step 5.
9494

9595
> [!NOTE]
96-
> If the file share is a standard file share, the **File Share** dimension will not list the file share(s) because per-share metrics are not available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Since per-share metrics are not available for standard file shares, the recommendation is to have one file share per storage account.
96+
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Because per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
9797
9898
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
9999

@@ -116,7 +116,7 @@ To create an alert that will notify you if a file share is being throttled, foll
116116
3. For **premium file shares**, select the **Dimension name** drop-down list and select **File Share**. For **standard file shares**, skip to step 5.
117117

118118
> [!NOTE]
119-
> If the file share is a standard file share, the **File Share** dimension will not list the file share(s) because per-share metrics aren't available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Since per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
119+
> If the file share is a standard file share, the **File Share** dimension won't list the file share(s) because per-share metrics aren't available for standard file shares. Alerts for standard file shares are based on all file shares in the storage account. Because per-share metrics aren't available for standard file shares, the recommendation is to have one file share per storage account.
120120
121121
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
122122

@@ -130,6 +130,32 @@ To create an alert that will notify you if a file share is being throttled, foll
130130

131131
9. Select **Review + create** to create the alert.
132132

133+
## Create an alert for high server latency
134+
135+
To create an alert for high server latency (average), follow these steps.
136+
137+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule.md).
138+
139+
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Success Server Latency** metric.
140+
141+
3. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
142+
143+
> [!NOTE]
144+
> To alert on the overall latency experience, leave **Dimension values** unchecked. To alert on the latency of specific transactions, select the API Name in the drop-down list. For example, selecting the Read and Write API names with the equal operator will only display latency for data transactions. Selecting the Read and Write API name with the not equal operator will only display latency for metadata transactions.
145+
146+
4. Define the **Alert Logic** by selecting either Static or Dynamic. For Static, select **Average** Aggregation, **Greater than** Operator, and Threshold value. For Dynamic, select **Average** Aggregation, **Greater than** Operator, and Threshold Sensitivity.
147+
148+
> [!TIP]
149+
> If you're using a static threshold, the metric chart can help determine a reasonable threshold value if the file share is currently experiencing high latency. If you're using a dynamic threshold, the metric chart will display the calculated thresholds based on recent data. We recommend using the Dynamic logic with Medium threshold sensitivity and further adjust as needed. To learn more, see [Understanding Dynamic Thresholds](../../azure-monitor/alerts/alerts-dynamic-thresholds.md#understand-dynamic-thresholds-charts).
150+
151+
5. Define the lookback period and frequency of evaluation.
152+
153+
6. Select the **Actions** tab to add an action group (email, SMS, etc.) to the alert. You can select an existing action group or create a new action group.
154+
155+
7. Select the **Details** tab to fill in the details of the alert such as the alert name, description, and severity.
156+
157+
8. Select **Review + create** to create the alert.
158+
133159
## Next steps
134160

135161
- [Azure Files monitoring data reference](storage-files-monitoring-reference.md)

0 commit comments

Comments
 (0)