Skip to content

Commit 656c2b1

Browse files
authored
Merge pull request #42625 from ohadschn/patch-4
Typos
2 parents cc2c9dc + b8d0eb7 commit 656c2b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-monitor/platform/autoscale-common-metrics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following host-level metrics are emitted by default for Azure VM and VMSS in
3030
- [Host metrics for Resource Manager-based Windows and Linux VMs](../../azure-monitor/platform/metrics-supported.md#microsoftcomputevirtualmachines)
3131
- [Host metrics for Resource Manager-based Windows and Linux VM Scale Sets](../../azure-monitor/platform/metrics-supported.md#microsoftcomputevirtualmachinescalesets)
3232

33-
### Guest OS metrics Resource Manager-based Windows VMs
33+
### Guest OS metrics for Resource Manager-based Windows VMs
3434
When you create a VM in Azure, diagnostics is enabled by using the Diagnostics extension. The diagnostics extension emits a set of metrics taken from inside of the VM. This means you can autoscale off of metrics that are not emitted by default.
3535

3636
You can generate a list of the metrics by using the following command in PowerShell.
@@ -123,8 +123,8 @@ Get-AzMetricDefinition -ResourceId <resource_id> | Format-Table -Property Name,U
123123
| \NetworkInterface\TotalTxErrors |Count |
124124
| \NetworkInterface\TotalCollisions |Count |
125125

126-
## Commonly used Web (Server Farm) metrics
127-
You can also perform autoscale based on common web server metrics such as the Http queue length. It's metric name is **HttpQueueLength**. The following section lists available server farm (Web Apps) metrics.
126+
## Commonly used App Service (Server Farm) metrics
127+
You can also perform autoscale based on common web server metrics such as the Http queue length. Its metric name is **HttpQueueLength**. The following section lists available server farm (App Service) metrics.
128128

129129
### Web Apps metrics
130130
You can generate a list of the Web Apps metrics by using the following command in PowerShell.
@@ -153,8 +153,8 @@ For example, with a Classic Storage Account the autoscale setting metricTrigger
153153

154154
```
155155
"metricName": "ApproximateMessageCount",
156-
"metricNamespace": "",
157-
"metricResourceUri": "/subscriptions/SUBSCRIPTION_ID/resourceGroups/RES_GROUP_NAME/providers/Microsoft.ClassicStorage/storageAccounts/STORAGE_ACCOUNT_NAME/services/queue/queues/QUEUE_NAME"
156+
"metricNamespace": "",
157+
"metricResourceUri": "/subscriptions/SUBSCRIPTION_ID/resourceGroups/RES_GROUP_NAME/providers/Microsoft.ClassicStorage/storageAccounts/STORAGE_ACCOUNT_NAME/services/queue/queues/QUEUE_NAME"
158158
```
159159

160160
For a (non-classic) storage account, the metricTrigger would include:
@@ -171,7 +171,7 @@ You can scale by Service Bus queue length, which is the number of messages in th
171171
For VM scale sets, you can update the Autoscale setting in the Resource Manager template to use *metricName* as *ApproximateMessageCount* and pass the ID of the storage queue as *metricResourceUri*.
172172

173173
```
174-
"metricName": "MessageCount",
174+
"metricName": "ApproximateMessageCount",
175175
"metricNamespace": "",
176176
"metricResourceUri": "/subscriptions/SUBSCRIPTION_ID/resourceGroups/RES_GROUP_NAME/providers/Microsoft.ServiceBus/namespaces/SB_NAMESPACE/queues/QUEUE_NAME"
177177
```

0 commit comments

Comments
 (0)