Skip to content

Commit a98a442

Browse files
authored
Merge pull request #47757 from craigshoemaker/crs-metrics-refresh2
Update monitor storage account
2 parents 6699be9 + 0ddd0e5 commit a98a442

9 files changed

+22
-29
lines changed
48 KB
Loading
25.7 KB
Loading
-1.06 KB
Loading
20.4 KB
Loading
14.6 KB
Loading
5.01 KB
Loading
6.45 KB
Loading
20.8 KB
Loading

articles/storage/common/storage-monitor-storage-account.md

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: storage
1313
ms.tgt_pltfrm: na
1414
ms.devlang: na
1515
ms.topic: article
16-
ms.date: 03/14/2017
16+
ms.date: 07/31/2018
1717
ms.author: tamram
1818

1919
---
@@ -34,16 +34,11 @@ ms.author: tamram
3434
1. In the [Azure portal](https://portal.azure.com), select **Storage accounts**, then the storage account name to open the account dashboard.
3535
1. Select **Diagnostics** in the **MONITORING** section of the menu blade.
3636

37-
![MonitoringOptions](./media/storage-monitor-storage-account/stg-enable-metrics-00.png)
37+
![MonitoringOptions](./media/storage-monitor-storage-account/storage-enable-metrics-00.png)
3838

3939
1. Select the **type** of metrics data for each **service** you wish to monitor, and the **retention policy** for the data. You can also disable monitoring by setting **Status** to **Off**.
4040

41-
![MonitoringOptions](./media/storage-monitor-storage-account/stg-enable-metrics-01.png)
42-
43-
There are two types of metrics you can enable for each service, both of which are enabled by default for new storage accounts:
44-
45-
* **Aggregate**: Collects metrics such as ingress/egress, availability, latency, and success percentages. These metrics are aggregated for the blob, queue, table, and file services.
46-
* **Per API**: In addition to the aggregate metrics, collects the same set of metrics for each storage operation in the Azure Storage service API.
41+
![MonitoringOptions](./media/storage-monitor-storage-account/storage-enable-metrics-01.png)
4742

4843
To set the data retention policy, move the **Retention (days)** slider or enter the number of days of data to retain, from 1 to 365. The default for new storage accounts is seven days. If you do not want to set a retention policy, enter zero. If there is no retention policy, it is up to you to delete the monitoring data.
4944

@@ -67,23 +62,21 @@ Use the following procedure to choose which storage metrics to view in a metrics
6762

6863
1. Start by displaying a storage metric chart in the Azure portal. You can find charts on the **storage account blade** and in the **Metrics** blade for an individual service (blob, queue, table, file).
6964

70-
In this example, we work with the following chart that appears on the **storage account blade**:
65+
In this example, uses the following chart that appears on the **storage account blade**:
7166

7267
![Chart selection in Azure portal](./media/storage-monitor-storage-account/stg-customize-chart-00.png)
7368

74-
1. Next, click anywhere within the chart to open the **Metric** blade. Select **Edit chart** to open the **Edit Chart** blade.
75-
76-
![Edit chart button on chart blade](./media/storage-monitor-storage-account/stg-customize-chart-01.png)
69+
1. Click anywhere within the chart to edit the chart.
7770

78-
1. On the **Edit Chart** blade, select the **Time Range** of the metrics to display in the chart, and the **service** (blob, queue, table, file) whose metrics you wish to display. Here we've selected to display the past week's metrics for the blob service:
71+
1. Next, select the **Time Range** of the metrics to display in the chart, and the **service** (blob, queue, table, file) whose metrics you wish to display. Here, the past week's metrics are selected to display for the blob service:
7972

80-
![Time range and service selection in the Edit Chart blade](./media/storage-monitor-storage-account/stg-customize-chart-02.png)
73+
![Time range and service selection in the Edit Chart blade](./media/storage-monitor-storage-account/storage-edit-metric-time-range.png)
8174

82-
1. Select the individual **metrics** you'd like displayed in the chart, then click **OK**. For example, here we've chosen to display the *ContainerCount* and *ObjectCount* metrics:
75+
1. Select the individual **metrics** you'd like displayed in the chart, then click **OK**.
8376

84-
![Individual metric selection in Edit Chart blade](./media/storage-monitor-storage-account/stg-customize-chart-03.png)
77+
![Individual metric selection in Edit Chart blade](./media/storage-monitor-storage-account/storage-edit-metric-selections.png)
8578

86-
Your chart settings do not affect the collection, aggregation, or storage of monitoring data in the storage account, only the viewing of metrics data.
79+
Your chart settings do not affect the collection, aggregation, or storage of monitoring data in the storage account.
8780

8881
### Metrics availability in charts
8982

@@ -93,7 +86,7 @@ The list of available metrics changes based on which service you've chosen in th
9386

9487
### Metrics resolution
9588

96-
The metrics you selected in Diagnostics determines the resolution of the metrics that are available for your account:
89+
The metrics you selected in **Diagnostics** determines the resolution of the metrics that are available for your account:
9790

9891
* **Aggregate** monitoring provides metrics such as ingress/egress, availability, latency, and success percentages. These metrics are aggregated from the blob, table, file, and queue services.
9992
* **Per API** provides finer resolution, with metrics available for individual storage operations, in addition to the service-level aggregates.
@@ -102,14 +95,14 @@ The metrics you selected in Diagnostics determines the resolution of the metrics
10295

10396
You can create alerts to notify you when thresholds have been reached for storage resource metrics.
10497

105-
1. To open the **Alert rules blade**, scroll down to the **MONITORING** section of the **Menu blade** and select **Alert rules**.
106-
1. Select **Add alert** to open the **Add an alert rule** blade
107-
1. Select a **Resource** (blob, file, queue, table) from the drop-down, and enter a **Name** and **Description** for your new alert rule.
108-
1. Select the **Metric** for which you'd like to add an alert, an alert **Condition**, and a **Threshold**. The threshold unit type changes depending on the metric you've chosen. For example, "count" is the unit type for *ContainerCount*, while the unit for the *PercentNetworkError* metric is a percentage.
109-
1. Select the **Period**. Metrics that reach or exceed the Threshold within the period trigger an alert.
110-
1. (Optional) Configure **Email** and **Webhook** notifications. For more information on webhooks, see [Configure a webhook on an Azure metric alert](../../monitoring-and-diagnostics/insights-webhooks-alerts.md). If you do not configure email or webhook notifications, alerts will appear only in the Azure portal.
98+
1. To open the **Alert rules blade**, scroll down to the **MONITORING** section of the **Menu blade** and select **Alerts (classic)**.
99+
2. Select **Add metric alert (classic)** to open the **Add an alert rule** blade
100+
3. Enter a **Name** and **Description** for your new alert rule.
101+
4. Select the **Metric** for which you'd like to add an alert, an alert **Condition**, and a **Threshold**. The threshold unit type changes depending on the metric you've chosen. For example, "count" is the unit type for *ContainerCount*, while the unit for the *PercentNetworkError* metric is a percentage.
102+
5. Select the **Period**. Metrics that reach or exceed the Threshold within the period trigger an alert.
103+
6. (Optional) Configure **Email** and **Webhook** notifications. For more information on webhooks, see [Configure a webhook on an Azure metric alert](../../monitoring-and-diagnostics/insights-webhooks-alerts.md). If you do not configure email or webhook notifications, alerts will appear only in the Azure portal.
111104

112-
!['Add an alert rule' blade in the Azure portal](./media/storage-monitor-storage-account/stg-alert-rules-01.png)
105+
!['Add an alert rule' blade in the Azure portal](./media/storage-monitor-storage-account/add-alert-rule.png)
113106

114107
## Add metrics charts to the portal dashboard
115108

@@ -122,7 +115,7 @@ You can add Azure Storage metrics charts for any of your storage accounts to you
122115
1. Select **Categories** > **Monitoring**.
123116
1. Drag-and-drop the chart tile onto your dashboard for the metric you'd like displayed. Repeat for all metrics you'd like displayed on the dashboard. In the following image, the "Blobs - Total requests" chart is highlighted as an example, but all the charts are available for placement on your dashboard.
124117

125-
![Tile gallery in Azure portal](./media/storage-monitor-storage-account/stg-customize-dashboard-01.png)
118+
![Tile gallery in Azure portal](./media/storage-monitor-storage-account/storage-customize-dashboard.png)
126119
1. Select **Done customizing** near the top of the dashboard when you're done adding charts.
127120

128121
Once you've added charts to your dashboard, you can further customize them as described in [Customize metrics charts](#how-to-customize-metrics-charts).
@@ -138,14 +131,14 @@ You can instruct Azure Storage to save diagnostics logs for read, write, and del
138131
1. In the [Azure portal](https://portal.azure.com), select **Storage accounts**, then the name of the storage account to open the storage account blade.
139132
1. Select **Diagnostics** in the **MONITORING** section of the menu blade.
140133

141-
![Diagnostics menu item under MONITORING in the Azure portal.](./media/storage-monitor-storage-account/stg-enable-metrics-00.png)
134+
![Diagnostics menu item under MONITORING in the Azure portal.](./media/storage-monitor-storage-account/storage-enable-metrics-00.png)
142135

143136
1. Ensure **Status** is set to **On**, and select the **services** for which you'd like to enable logging.
144137

145-
![Configure logging in the Azure portal.](./media/storage-monitor-storage-account/stg-enable-logging-01.png)
138+
![Configure logging in the Azure portal.](./media/storage-monitor-storage-account/enable-diagnostics.png)
146139
1. Click **Save**.
147140

148-
The diagnostics logs are saved in a blob container named $logs in your storage account. You can view the log data using a storage explorer like the [Microsoft Storage Explorer](http://storageexplorer.com), or programmatically using the storage client library or PowerShell.
141+
The diagnostics logs are saved in a blob container named *$logs* in your storage account. You can view the log data using a storage explorer like the [Microsoft Storage Explorer](http://storageexplorer.com), or programmatically using the storage client library or PowerShell.
149142

150143
For information about accessing the $logs container, see [Enabling Storage Logging and Accessing Log Data](/rest/api/storageservices/enabling-storage-logging-and-accessing-log-data).
151144

0 commit comments

Comments
 (0)