Skip to content

Commit dda38eb

Browse files
committed
fix
1 parent 0af3a1e commit dda38eb

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed

articles/storage/files/analyze-files-metrics.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ author: khdownie
55
services: storage
66
ms.service: azure-file-storage
77
ms.topic: how-to
8-
ms.date: 02/13/2023
8+
ms.date: 02/13/2024
99
ms.author: kendownie
1010
ms.custom: monitoring, devx-track-azurepowershell
1111
---
1212

1313
# Analyze Azure Files metrics using Azure Monitor
1414

15-
Understanding how to monitor file share performance is critical to ensuring that your application is running as efficiently as possible. This article shows you how to use [Azure Monitor](../../azure-monitor/overview.md) to analyze Azure Files metrics such as availability, latency, and utilization.
15+
Understanding how to monitor file share performance is critical to ensuring that your application is running as efficiently as possible. This article shows you how to use [Azure Monitor](/azure/azure-monitor/overview) to analyze Azure Files metrics such as availability, latency, and utilization.
1616

1717
See [Monitor Azure Files](storage-files-monitoring.md) for details on the monitoring data you can collect for Azure Files and how to use it.
1818

@@ -32,13 +32,15 @@ Metrics for Azure Files are in these namespaces:
3232

3333
For a list of available metrics for Azure Files, see [Azure Files monitoring data reference](storage-files-monitoring-reference.md).
3434

35-
For a list of all Azure Monitor support metrics, which includes Azure Files, see [Azure Monitor supported metrics](../../azure-monitor/essentials/metrics-supported.md#microsoftstoragestorageaccountsfileservices).
35+
For a list of all Azure Monitor support metrics, which includes Azure Files, see [Azure Monitor supported metrics](/azure/azure-monitor/essentials/metrics-supported#microsoftstoragestorageaccountsfileservices).
3636

3737
### [Azure portal](#tab/azure-portal)
3838

39-
You can analyze metrics for Azure Storage with metrics from other Azure services by using Metrics Explorer. Open Metrics Explorer by choosing **Metrics** from the **Azure Monitor** menu. For details on using this tool, see [Analyze metrics with Azure Monitor metrics explorer](../../azure-monitor/essentials/analyze-metrics.md).
39+
You can analyze metrics for Azure Storage with metrics from other Azure services by using Metrics Explorer. Open Metrics Explorer by choosing **Metrics** from the **Azure Monitor** menu. For details on using this tool, see [Analyze metrics with Azure Monitor metrics explorer](/azure/azure-monitor/essentials/analyze-metrics).
4040

41-
For metrics that support dimensions, you can filter the metric with the desired dimension value. For a complete list of the dimensions that Azure Storage supports, see [Metrics dimensions](storage-files-monitoring-reference.md#metrics-dimensions). ### [PowerShell](#tab/azure-powershell)
41+
For metrics that support dimensions, you can filter the metric with the desired dimension value. For a complete list of the dimensions that Azure Storage supports, see [Metrics dimensions](storage-files-monitoring-reference.md#metrics-dimensions).
42+
43+
### [PowerShell](#tab/azure-powershell)
4244

4345
#### List the metric definition
4446

@@ -108,7 +110,7 @@ Azure Monitor provides the [.NET SDK](https://www.nuget.org/packages/Microsoft.A
108110

109111
In these examples, replace the `<resource-ID>` placeholder with the resource ID of the entire storage account or the Azure Files service. You can find these resource IDs on the **Properties** pages of your storage account in the Azure portal.
110112

111-
Replace the `<subscription-ID>` variable with the ID of your subscription. For guidance on how to obtain values for `<tenant-ID>`, `<application-ID>`, and `<AccessKey>`, see [Use the portal to create a Microsoft Entra application and service principal that can access resources](../../active-directory/develop/howto-create-service-principal-portal.md).
113+
Replace the `<subscription-ID>` variable with the ID of your subscription. For guidance on how to obtain values for `<tenant-ID>`, `<application-ID>`, and `<AccessKey>`, see [Use the portal to create a Microsoft Entra application and service principal that can access resources](/azure/active-directory/develop/howto-create-service-principal-portal).
112114

113115
### List the account-level metric definition
114116

@@ -344,12 +346,12 @@ Requests made by the Azure Files service itself, such as log creation or deletio
344346

345347
### Sample Kusto queries
346348

347-
If you send logs to Log Analytics, you can access those logs by using Azure Monitor log queries. For more information, see [Log Analytics tutorial](../../azure-monitor/logs/log-analytics-tutorial.md).
349+
If you send logs to Log Analytics, you can access those logs by using Azure Monitor log queries. For more information, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial).
348350

349-
Here are some queries that you can enter in the **Log search** bar to help you monitor your Azure Files. These queries work with the [new language](../../azure-monitor/logs/log-query-overview.md).
351+
Here are some queries that you can enter in the **Log search** bar to help you monitor your Azure Files. These queries work with the [new language](/azure/azure-monitor/logs/log-query-overview).
350352

351353
> [!IMPORTANT]
352-
> When you select **Logs** from the storage account resource group menu, Log Analytics is opened with the query scope set to the current resource group. This means that log queries will only include data from that resource group. If you want to run a query that includes data from other resources or data from other Azure services, select **Logs** from the **Azure Monitor** menu. See [Log query scope and time range in Azure Monitor Log Analytics](../../azure-monitor/logs/scope.md) for details.
354+
> When you select **Logs** from the storage account resource group menu, Log Analytics is opened with the query scope set to the current resource group. This means that log queries will only include data from that resource group. If you want to run a query that includes data from other resources or data from other Azure services, select **Logs** from the **Azure Monitor** menu. See [Log query scope and time range in Azure Monitor Log Analytics](/azure/azure-monitor/logs/scope) for details.
353355
354356
Use these queries to help you monitor your Azure file shares:
355357

@@ -390,13 +392,13 @@ StorageFileLogs
390392

391393
To view the list of column names and descriptions for Azure Files, see [StorageFileLogs](/azure/azure-monitor/reference/tables/storagefilelogs).
392394

393-
For more information on how to write queries, see [Log Analytics tutorial](../../azure-monitor/logs/log-analytics-tutorial.md).
395+
For more information on how to write queries, see [Log Analytics tutorial](/azure/azure-monitor/logs/log-analytics-tutorial).
394396

395397
## Next steps
396398

397399
- [Monitor Azure Files](storage-files-monitoring.md)
398400
- [Create monitoring alerts for Azure Files](files-monitoring-alerts.md)
399401
- [Azure Files monitoring data reference](storage-files-monitoring-reference.md)
400-
- [Monitor Azure resources with Azure Monitor](../../azure-monitor/essentials/monitor-azure-resource.md)
402+
- [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource)
401403
- [Understand Azure Files performance](understand-performance.md)
402404
- [Troubleshoot ClientOtherErrors](/troubleshoot/azure/azure-storage/files-client-other-errors?toc=/azure/storage/files/toc.json)

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ author: khdownie
55
services: storage
66
ms.service: azure-file-storage
77
ms.topic: how-to
8-
ms.date: 02/13/2023
8+
ms.date: 02/13/2024
99
ms.author: kendownie
1010
ms.custom: monitoring
1111
---
1212

1313
# Create monitoring alerts for Azure Files
1414

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).
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/azure-monitor/alerts/alerts-metric-overview), [logs](/azure/azure-monitor/alerts/alerts-unified-log), and the [activity log](/azure/azure-monitor/alerts/activity-log-alerts).
1616

17-
To learn more about how to create an alert, see [Create or edit an alert rule](../../azure-monitor/alerts/alerts-create-new-alert-rule.md).
17+
To learn more about how to create an alert, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
1818

1919
For more information about alert types and alerts, see [Monitor Azure Files](storage-files-monitoring.md#alerts).
2020

@@ -42,7 +42,7 @@ The following table lists some example scenarios to monitor and the proper metri
4242

4343
To create an alert that will notify you if a file share is being throttled, follow these steps.
4444

45-
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).
45+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
4646

4747
2. In the **Condition** tab, select the **Transactions** metric.
4848

@@ -88,7 +88,7 @@ To create an alert that will notify you if a file share is being throttled, foll
8888

8989
## How to create an alert if the Azure file share size is 80% of capacity
9090

91-
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).
91+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
9292

9393
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **File Capacity** metric.
9494

@@ -111,7 +111,7 @@ To create an alert that will notify you if a file share is being throttled, foll
111111

112112
## How to create an alert if the Azure file share egress has exceeded 500 GiB in a day
113113

114-
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).
114+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
115115

116116
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Egress** metric.
117117

@@ -136,7 +136,7 @@ To create an alert that will notify you if a file share is being throttled, foll
136136

137137
To create an alert for high server latency (average), follow these steps.
138138

139-
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).
139+
1. Open the **Create an alert rule** dialog box. For more information, see [Create or edit an alert rule](/azure/azure-monitor/alerts/alerts-create-new-alert-rule).
140140

141141
2. In the **Condition** tab of the **Create an alert rule** dialog box, select the **Success Server Latency** metric.
142142

@@ -148,7 +148,7 @@ To create an alert for high server latency (average), follow these steps.
148148
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.
149149

150150
> [!TIP]
151-
> 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).
151+
> 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/azure-monitor/alerts/alerts-dynamic-thresholds#understand-dynamic-thresholds-charts).
152152
153153
5. Define the lookback period and frequency of evaluation.
154154

@@ -163,5 +163,5 @@ To create an alert for high server latency (average), follow these steps.
163163
- [Monitor Azure Files](storage-files-monitoring.md)
164164
- [Analyze Azure Files metrics using Azure Monitor](analyze-files-metrics.md)
165165
- [Azure Files monitoring data reference](storage-files-monitoring-reference.md)
166-
- [Monitor Azure resources with Azure Monitor](../../azure-monitor/essentials/monitor-azure-resource.md)
166+
- [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource)
167167
- [Azure Storage metrics migration](../common/storage-metrics-migration.md)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitoring data reference for Azure Files
33
description: This article contains important reference material you need when you monitor Azure Files.
4-
ms.date: 02/02/2024
4+
ms.date: 02/13/2024
55
ms.custom: horz-monitor
66
ms.topic: reference
77
author: khdownie

0 commit comments

Comments
 (0)