Skip to content

Commit 680b9a5

Browse files
committed
edit pass: two-azure-monitor-topics
1 parent b15d2e6 commit 680b9a5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/storage/common/storage-analytics-metrics.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Azure Storage uses the Storage Analytics solution to store metrics that include
5151
|Metrics level|Table names|Supported for versions|
5252
|-------------------|-----------------|----------------------------|
5353
|Hourly metrics, primary location|- $MetricsTransactionsBlob<br />- $MetricsTransactionsTable<br />- $MetricsTransactionsQueue|Versions prior to August 15, 2013, only. While these names are still supported, we recommend that you switch to using the tables that follow.|
54-
|Hourly metrics, primary location|- $MetricsHourPrimaryTransactionsBlob<br />- $MetricsHourPrimaryTransactionsTable<br />- $MetricsHourPrimaryTransactionsQueue<br />- $MetricsHourPrimaryTransactionsFile|All versions. Support for File service metrics is available only in version April 5, 2015, and later.|
55-
|Minute metrics, primary location|- $MetricsMinutePrimaryTransactionsBlob<br />- $MetricsMinutePrimaryTransactionsTable<br />- $MetricsMinutePrimaryTransactionsQueue<br />- $MetricsMinutePrimaryTransactionsFile|All versions. Support for File service metrics is available only in version April 5, 2015, and later.|
54+
|Hourly metrics, primary location|- $MetricsHourPrimaryTransactionsBlob<br />- $MetricsHourPrimaryTransactionsTable<br />- $MetricsHourPrimaryTransactionsQueue<br />- $MetricsHourPrimaryTransactionsFile|All versions. Support for file service metrics is available only in version April 5, 2015, and later.|
55+
|Minute metrics, primary location|- $MetricsMinutePrimaryTransactionsBlob<br />- $MetricsMinutePrimaryTransactionsTable<br />- $MetricsMinutePrimaryTransactionsQueue<br />- $MetricsMinutePrimaryTransactionsFile|All versions. Support for file service metrics is available only in version April 5, 2015, and later.|
5656
|Hourly metrics, secondary location|- $MetricsHourSecondaryTransactionsBlob<br />- $MetricsHourSecondaryTransactionsTable<br />- $MetricsHourSecondaryTransactionsQueue|All versions. Read-access geo-redundant replication must be enabled.|
5757
|Minute metrics, secondary location|- $MetricsMinuteSecondaryTransactionsBlob<br />- $MetricsMinuteSecondaryTransactionsTable<br />- $MetricsMinuteSecondaryTransactionsQueue|All versions. Read-access geo-redundant replication must be enabled.|
5858
|Capacity (blob service only)|$MetricsCapacityBlob|All versions.|
@@ -81,7 +81,7 @@ The cmdlets that control storage metrics use the following parameters:
8181
* **MetricsLevel**: Possible values are:
8282
* **None**: Turns off monitoring.
8383
* **Service**: Collects metrics such as ingress and egress, availability, latency, and success percentages, which are aggregated for the blob, queue, table, and file services.
84-
* **ServiceAndApi**: In addition to the Service metrics, collects the same set of metrics for each storage operation in the Azure Storage service API.
84+
* **ServiceAndApi**: In addition to the service metrics, collects the same set of metrics for each storage operation in the Azure Storage service API.
8585

8686
For example, the following command switches on minute metrics for the blob service in your storage account with the retention period set to five days:
8787

@@ -142,11 +142,11 @@ If you want to download the metrics for long-term storage or to analyze them loc
142142
||||
143143
|-|-|-|
144144
|**Metrics**|**Table names**|**Notes**|
145-
|Hourly metrics|$MetricsHourPrimaryTransactionsBlob<br /><br /> $MetricsHourPrimaryTransactionsTable<br /><br /> $MetricsHourPrimaryTransactionsQueue<br /><br /> $MetricsHourPrimaryTransactionsFile|In versions prior to August 15, 2013, these tables were known as:<br /><br /> $MetricsTransactionsBlob<br /><br /> $MetricsTransactionsTable<br /><br /> $MetricsTransactionsQueue<br /><br /> Metrics for the File service are available beginning with version April 5, 2015.|
146-
|Minute metrics|$MetricsMinutePrimaryTransactionsBlob<br /><br /> $MetricsMinutePrimaryTransactionsTable<br /><br /> $MetricsMinutePrimaryTransactionsQueue<br /><br /> $MetricsMinutePrimaryTransactionsFile|Can only be enabled by using PowerShell or programmatically.<br /><br /> Metrics for the File service are available beginning with version April 5, 2015.|
145+
|Hourly metrics|$MetricsHourPrimaryTransactionsBlob<br /><br /> $MetricsHourPrimaryTransactionsTable<br /><br /> $MetricsHourPrimaryTransactionsQueue<br /><br /> $MetricsHourPrimaryTransactionsFile|In versions prior to August 15, 2013, these tables were known as:<br /><br /> $MetricsTransactionsBlob<br /><br /> $MetricsTransactionsTable<br /><br /> $MetricsTransactionsQueue<br /><br /> Metrics for the file service are available beginning with version April 5, 2015.|
146+
|Minute metrics|$MetricsMinutePrimaryTransactionsBlob<br /><br /> $MetricsMinutePrimaryTransactionsTable<br /><br /> $MetricsMinutePrimaryTransactionsQueue<br /><br /> $MetricsMinutePrimaryTransactionsFile|Can only be enabled by using PowerShell or programmatically.<br /><br /> Metrics for the file service are available beginning with version April 5, 2015.|
147147
|Capacity|$MetricsCapacityBlob|Blob service only.|
148148

149-
For full details of the schemas for these tables, see [Storage Analytics metrics table schema](/rest/api/storageservices/storage-analytics-metrics-table-schema). The following sample rows show only a subset of the columns available, but illustrate some important features of the way storage metrics saves these metrics:
149+
For full details of the schemas for these tables, see [Storage Analytics metrics table schema](/rest/api/storageservices/storage-analytics-metrics-table-schema). The following sample rows show only a subset of the columns available, but they illustrate some important features of the way storage metrics saves these metrics:
150150

151151
||||||||||||
152152
|-|-|-|-|-|-|-|-|-|-|-|
@@ -176,7 +176,7 @@ The following listing shows sample C# code that accesses the minute metrics for
176176
```csharp
177177
private static void PrintMinuteMetrics(CloudAnalyticsClient analyticsClient, DateTimeOffset startDateTime, DateTimeOffset endDateTime)
178178
{
179-
// Convert the dates to the format used in the PartitionKey
179+
// Convert the dates to the format used in the PartitionKey.
180180
var start = startDateTime.ToUniversalTime().ToString("yyyyMMdd'T'HHmm");
181181
var end = endDateTime.ToUniversalTime().ToString("yyyyMMdd'T'HHmm");
182182

@@ -195,8 +195,8 @@ private static void PrintMinuteMetrics(CloudAnalyticsClient analyticsClient, Dat
195195
where entity.PartitionKey.CompareTo(start) >= 0 && entity.PartitionKey.CompareTo(end) <= 0
196196
select entity;
197197

198-
// Filter on "user" transactions after fetching the metrics from Table Storage.
199-
// (StartsWith is not supported using LINQ with Azure Table storage)
198+
// Filter on "user" transactions after fetching the metrics from Azure Table storage.
199+
// (StartsWith is not supported using LINQ with Azure Table storage.)
200200
var results = query.ToList().Where(m => m.RowKey.StartsWith("user"));
201201
var resultString = results.Aggregate(new StringBuilder(), (builder, metrics) => builder.AppendLine(MetricsString(metrics, opContext))).ToString();
202202
Console.WriteLine(resultString);

0 commit comments

Comments
 (0)