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/storage/files/files-monitoring-alerts.md
+33-7Lines changed: 33 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
-
title: Monitoring Azure Files - Create alerts
2
+
title: Create monitoring alerts for Azure Files
3
3
description: Use Azure Monitor to create alerts on throttling, capacity, and egress. Learn how to create an alert on high server latency.
4
4
author: khdownie
5
5
services: storage
6
6
ms.service: azure-file-storage
7
7
ms.topic: how-to
8
-
ms.date: 09/05/2023
8
+
ms.date: 09/06/2023
9
9
ms.author: kendownie
10
10
ms.custom: monitoring
11
11
---
12
12
13
-
# Monitoring Azure Files - Create alerts
13
+
# Create monitoring alerts for Azure Files
14
14
15
15
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).
16
16
@@ -69,14 +69,14 @@ To create an alert that will notify you if a file share is being throttled, foll
69
69
5. For **premium file shares**, select the **Dimension name** drop-down and select **File Share**. For **standard file shares**, skip to step 7.
70
70
71
71
> [!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.
73
73
74
74
6. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
75
75
76
76
7. Define the alert parameters (threshold value, operator, lookback period, and frequency of evaluation).
77
77
78
78
> [!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.
80
80
81
81
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.
82
82
@@ -93,7 +93,7 @@ To create an alert that will notify you if a file share is being throttled, foll
93
93
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.
94
94
95
95
> [!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.
97
97
98
98
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
99
99
@@ -116,7 +116,7 @@ To create an alert that will notify you if a file share is being throttled, foll
116
116
3. For **premium file shares**, select the **Dimension name** drop-down list and select **File Share**. For **standard file shares**, skip to step 5.
117
117
118
118
> [!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.
120
120
121
121
4. Select the **Dimension values** drop-down and select the file share(s) that you want to alert on.
122
122
@@ -130,6 +130,32 @@ To create an alert that will notify you if a file share is being throttled, foll
130
130
131
131
9. Select **Review + create** to create the alert.
132
132
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
+
133
159
## Next steps
134
160
135
161
-[Azure Files monitoring data reference](storage-files-monitoring-reference.md)
0 commit comments