Skip to content

Commit d7197a5

Browse files
committed
edit pass: four-autoscale-articles
1 parent 5963405 commit d7197a5

File tree

4 files changed

+42
-40
lines changed

4 files changed

+42
-40
lines changed

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,32 @@ ms.reviewer: riroloff
1313

1414
[!INCLUDE [updated-for-az](../../../includes/updated-for-az.md)]
1515

16-
Azure Monitor autoscaling allows you to scale the number of running instances up or down, based on telemetry data (metrics). This article describes common metrics that you might want to use. In the Azure portal, you can choose the metric of the resource to scale by. You can also choose any metric from a different resource to scale by.
16+
Azure Monitor autoscaling allows you to scale the number of running instances up or down, based on telemetry data, also known as metrics. This article describes common metrics that you might want to use. In the Azure portal, you can choose the metric of the resource to scale by. You can also choose any metric from a different resource to scale by.
1717

18-
Azure Monitor autoscale applies only to [Azure Virtual Machine Scale Sets](https://azure.microsoft.com/services/virtual-machine-scale-sets/), [Azure Cloud Services](https://azure.microsoft.com/services/cloud-services/), [Azure App Service - Web Apps](https://azure.microsoft.com/services/app-service/web/), and [Azure API Management services](../../api-management/api-management-key-concepts.md). Other Azure services use different scaling methods.
18+
Azure Monitor autoscale applies only to [Azure Virtual Machine Scale Sets](https://azure.microsoft.com/services/virtual-machine-scale-sets/), [Azure Cloud Services](https://azure.microsoft.com/services/cloud-services/), [Azure App Service - Web Apps](https://azure.microsoft.com/services/app-service/web/), and [Azure API Management](../../api-management/api-management-key-concepts.md). Other Azure services use different scaling methods.
1919

2020
## Compute metrics for Resource Manager-based VMs
2121

22-
By default, Azure Resource Manager-based virtual machines and Virtual Machine Scale Sets emit basic (host-level) metrics. In addition, when you configure diagnostics data collection for an Azure VM and Virtual Machine Scale Sets, the Azure diagnostic extension also emits guest-OS performance counters (commonly known as "guest-OS metrics"). You use all these metrics in autoscale rules.
22+
By default, Azure Resource Manager-based virtual machines and virtual machine scale sets emit basic (host-level) metrics. In addition, when you configure diagnostics data collection for an Azure VM and virtual machine scale sets, the Azure Diagnostics extension also emits guest-OS performance counters. These counters are commonly known as "guest-OS metrics." You use all these metrics in autoscale rules.
2323

2424
You can use the `Get MetricDefinitions` API/PoSH/CLI to view the metrics available for your Virtual Machine Scale Sets resource.
2525

26-
If you're using virtual machine scale sets and you don't see a particular metric listed, it's likely *disabled* in your diagnostics extension.
26+
If you're using virtual machine scale sets and you don't see a particular metric listed, it's likely *disabled* in your Diagnostics extension.
2727

2828
If a particular metric isn't being sampled or transferred at the frequency you want, you can update the diagnostics configuration.
2929

3030
If either preceding case is true, see [Use PowerShell to enable Azure Diagnostics in a virtual machine running Windows](../../virtual-machines/extensions/diagnostics-windows.md) to configure and update your Azure VM Diagnostics extension to enable the metric. The article also includes a sample diagnostics configuration file.
3131

3232
### Host metrics for Resource Manager-based Windows and Linux VMs
3333

34-
The following host-level metrics are emitted by default for Azure VM and Virtual Machine Scale Sets in both Windows and Linux instances. These metrics describe your Azure VM, but are collected from the Azure VM host rather than via agent installed on the guest VM. You may use these metrics in autoscaling rules.
34+
The following host-level metrics are emitted by default for Azure VM and virtual machine scale sets in both Windows and Linux instances. These metrics describe your Azure VM but are collected from the Azure VM host rather than via agent installed on the guest VM. You can use these metrics in autoscaling rules.
3535

3636
- [Host metrics for Resource Manager-based Windows and Linux VMs](../essentials/metrics-supported.md#microsoftcomputevirtualmachines)
37-
- [Host metrics for Resource Manager-based Windows and Linux Virtual Machine Scale Sets](../essentials/metrics-supported.md#microsoftcomputevirtualmachinescalesets)
37+
- [Host metrics for Resource Manager-based Windows and Linux virtual machine scale sets](../essentials/metrics-supported.md#microsoftcomputevirtualmachinescalesets)
3838

3939
### Guest OS metrics for Resource Manager-based Windows VMs
4040

41-
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 aren't emitted by default.
41+
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 aren't emitted by default.
4242

4343
You can generate a list of the metrics by using the following command in PowerShell.
4444

@@ -80,7 +80,7 @@ You can create an alert for the following metrics:
8080

8181
### Guest OS metrics Linux VMs
8282

83-
When you create a VM in Azure, diagnostics is enabled by default by using Diagnostics extension.
83+
When you create a VM in Azure, diagnostics is enabled by default by using the Diagnostics extension.
8484

8585
You can generate a list of the metrics by using the following command in PowerShell.
8686

@@ -137,7 +137,7 @@ You can also perform autoscale based on common web server metrics such as the HT
137137

138138
### Web Apps metrics
139139

140-
You can generate a list of the Web Apps metrics by using the following command in PowerShell.
140+
You can generate a list of the Web Apps metrics by using the following command in PowerShell:
141141

142142
```
143143
Get-AzMetricDefinition -ResourceId <resource_id> | Format-Table -Property Name,Unit
@@ -156,9 +156,9 @@ You can alert on or scale by these metrics.
156156

157157
## Commonly used Storage metrics
158158

159-
You can scale by Storage queue length, which is the number of messages in the Storage queue. Storage queue length is a special metric and the threshold is the number of messages per instance. For example, if there are two instances and if the threshold is set to 100, scaling occurs when the total number of messages in the queue is 200. That amount can be 100 messages per instance, 120 and 80, or any other combination that adds up to 200 or more.
159+
You can scale by Azure Storage queue length, which is the number of messages in the Storage queue. Storage queue length is a special metric, and the threshold is the number of messages per instance. For example, if there are two instances and if the threshold is set to 100, scaling occurs when the total number of messages in the queue is 200. That amount can be 100 messages per instance, 120 plus 80, or any other combination that adds up to 200 or more.
160160

161-
Configure this setting in the Azure portal in the **Settings** pane. For virtual machine 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*.
161+
Configure this setting in the Azure portal in the **Settings** pane. For virtual machine 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`.
162162

163163
For example, with a Classic Storage account, the autoscale setting `metricTrigger` would include:
164164

@@ -178,9 +178,9 @@ For a (non-classic) Storage account, the `metricTrigger` setting would include:
178178

179179
## Commonly used Service Bus metrics
180180

181-
You can scale by Service Bus queue length, which is the number of messages in the Service Bus queue. Service Bus queue length is a special metric, and the threshold is the number of messages per instance. For example, if there are two instances and if the threshold is set to 100, scaling occurs when the total number of messages in the queue is 200. That amount can be 100 messages per instance, 120 plus 80, or any other combination that adds up to 200 or more.
181+
You can scale by Azure Service Bus queue length, which is the number of messages in the Service Bus queue. Service Bus queue length is a special metric, and the threshold is the number of messages per instance. For example, if there are two instances and if the threshold is set to 100, scaling occurs when the total number of messages in the queue is 200. That amount can be 100 messages per instance, 120 plus 80, or any other combination that adds up to 200 or more.
182182

183-
For Virtual Machine 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*.
183+
For virtual machine 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`.
184184

185185
```
186186
"metricName": "ApproximateMessageCount",
@@ -189,4 +189,4 @@ For Virtual Machine Scale Sets, you can update the Autoscale setting in the Reso
189189
```
190190

191191
> [!NOTE]
192-
> For Service Bus, the resource group concept doesn't exist but Azure Resource Manager creates a default resource group per region. The resource group is usually in the 'Default-ServiceBus-[region]' format, for example, 'Default-ServiceBus-EastUS', 'Default-ServiceBus-WestUS', and 'Default-ServiceBus-AustraliaEast'.
192+
> For Service Bus, the resource group concept doesn't exist, but Azure Resource Manager creates a default resource group per region. The resource group is usually in the Default-ServiceBus-[region] format. Examples are Default-ServiceBus-EastUS, Default-ServiceBus-WestUS, and Default-ServiceBus-AustraliaEast.

articles/azure-monitor/autoscale/autoscale-custom-metric.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Azure Monitor autoscale applies to:
2424
+ [Azure Cloud Services](https://azure.microsoft.com/services/cloud-services/)
2525
+ [Azure App Service - Web Apps](https://azure.microsoft.com/services/app-service/web/)
2626
+ [Azure Data Explorer cluster](https://azure.microsoft.com/services/data-explorer/)
27-
+ Integration service environment and [Azure API Management services](../../api-management/api-management-key-concepts.md)
27+
+ Integration service environment and [Azure API Management](../../api-management/api-management-key-concepts.md)
2828

2929
## Prerequisite
3030

articles/azure-monitor/autoscale/autoscale-get-started.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@ ms.date: 04/05/2022
66
ms.subservice: autoscale
77
ms.reviewer: riroloff
88
---
9-
# Get started with Autoscale in Azure
9+
# Get started with autoscale in Azure
1010

11-
This article describes how to set up your Autoscale settings for your resource in the Azure portal.
11+
This article describes how to set up your autoscale settings for your resource in the Azure portal.
1212

13-
Azure Monitor autoscale applies only to [Azure Virtual Machine Scale Sets](https://azure.microsoft.com/services/virtual-machine-scale-sets/), [Cloud Services](https://azure.microsoft.com/services/cloud-services/), [Azure App Service - Web Apps](https://azure.microsoft.com/services/app-service/web/), and [API Management services](../../api-management/api-management-key-concepts.md).
13+
Azure Monitor autoscale applies only to [Azure Virtual Machine Scale Sets](https://azure.microsoft.com/services/virtual-machine-scale-sets/), [Azure Cloud Services](https://azure.microsoft.com/services/cloud-services/), [Azure App Service - Web Apps](https://azure.microsoft.com/services/app-service/web/), and [Azure API Management](../../api-management/api-management-key-concepts.md).
1414

15-
## Discover the Autoscale settings in your subscription
15+
## Discover the autoscale settings in your subscription
1616

1717
> [!VIDEO https://www.microsoft.com/en-us/videoplayer/embed/RE4u7ts]
1818
19-
You can discover all the resources for which Autoscale is applicable in Azure Monitor. Use the following steps for a step-by-step walkthrough:
19+
To discover all the resources for which autoscale is applicable in Azure Monitor, follow these steps.
2020

2121
1. Open the [Azure portal.][1]
2222
1. Select the Azure Monitor icon at the top of the page.
2323

2424
[![Screenshot that shows how to open Azure Monitor.](./media/autoscale-get-started/click-on-monitor-1.png)](./media/autoscale-get-started/click-on-monitor-1.png#lightbox)
2525

26-
1. Select **Autoscale** to view all the resources for which Autoscale is applicable, along with their current Autoscale status.
26+
1. Select **Autoscale** to view all the resources for which autoscale is applicable, along with their current autoscale status.
2727

2828
[![Screenshot that shows autoscale in Azure Monitor.](./media/autoscale-get-started/click-on-autoscale-2.png)](./media/autoscale-get-started/click-on-autoscale-2.png#lightbox)
2929

3030
1. Use the filter pane at the top to scope down the list to select resources in a specific resource group, specific resource types, or a specific resource.
3131

3232
[![Screenshot that shows viewing resource status.](./media/autoscale-get-started/view-all-resources-3.png)](./media/autoscale-get-started/view-all-resources-3.png#lightbox)
3333

34-
For each resource, you'll find the current instance count and the Autoscale status. The Autoscale status can be:
34+
For each resource, you'll find the current instance count and the autoscale status. The autoscale status can be:
3535

36-
- **Not configured**: You haven't enabled Autoscale yet for this resource.
37-
- **Enabled**: You've enabled Autoscale for this resource.
38-
- **Disabled**: You've disabled Autoscale for this resource.
36+
- **Not configured**: You haven't enabled autoscale yet for this resource.
37+
- **Enabled**: You've enabled autoscale for this resource.
38+
- **Disabled**: You've disabled autoscale for this resource.
3939

4040
You can also reach the scaling page by selecting **All Resources** on the home page and filter to the resource you're interested in scaling.
4141

@@ -45,11 +45,11 @@ You can discover all the resources for which Autoscale is applicable in Azure Mo
4545

4646
[![Screenshot that shows the scaling button.](./media/autoscale-get-started/scaling-page.png)](./media/autoscale-get-started/scaling-page.png#lightbox)
4747

48-
## Create your first Autoscale setting
48+
## Create your first autoscale setting
4949

50-
Let's now go through a simple step-by-step walkthrough to create your first Autoscale setting.
50+
Let's now go through a step-by-step walkthrough to create your first autoscale setting.
5151

52-
1. Open the **Autoscale** pane in Azure Monitor and select a resource that you want to scale. (The following steps use an App Service plan associated with a web app. You can [create your first ASP.NET web app in Azure in 5 minutes.][5])
52+
1. Open the **Autoscale** pane in Azure Monitor and select a resource that you want to scale. The following steps use an App Service plan associated with a web app. You can [create your first ASP.NET web app in Azure in 5 minutes.][5]
5353
1. The current instance count is 1. Select **Custom autoscale**.
5454

5555
[![Screenshot that shows scale setting for a new web app.](./media/autoscale-get-started/manual-scale-04.png)](./media/autoscale-get-started/manual-scale-04.png#lightbox)
@@ -78,6 +78,8 @@ Congratulations! You've now successfully created your first scale setting to aut
7878
7979
## Other considerations
8080

81+
The following sections introduce other considerations for autoscaling.
82+
8183
### Scale based on a schedule
8284

8385
You can set your scale differently for specific days of the week.
@@ -106,7 +108,7 @@ Whenever your resource is scaled up or down, an event is logged in the activity
106108

107109
![Screenshot that shows a Run history screen.][12]
108110

109-
To view the complete scale history for up to 90 days, select **Click here to see more details**. The activity log opens, with Autoscale preselected for your resource and category.
111+
To view the complete scale history for up to 90 days, select **Click here to see more details**. The activity log opens, with autoscale preselected for your resource and category.
110112

111113
### View the scale definition of your resource
112114

@@ -124,16 +126,16 @@ Autoscale uses a cool-down period to prevent "flapping," which is the rapid, rep
124126

125127
<a id="health-check-path"></a>
126128

127-
When your Azure web app is scaled out to multiple instances, App Service can perform health checks on your instances to route traffic to the healthy instances. To learn more, see [Monitor App Service instances using Health check.](../../app-service/monitor-instances-health-check.md).
129+
When your Azure web app is scaled out to multiple instances, App Service can perform health checks on your instances to route traffic to the healthy instances. To learn more, see [Monitor App Service instances using Health check](../../app-service/monitor-instances-health-check.md).
128130

129-
## Move Autoscale to a different region
131+
## Move autoscale to a different region
130132

131133
This section describes how to move Azure autoscale to another region under the same subscription and resource group. You can use REST API to move autoscale settings.
132134

133135
### Prerequisites
134136

135-
1. Ensure that the subscription and resource group are available and the details in both the source and destination regions are identical.
136-
1. Ensure that Azure autoscale is available in the [Azure region you want to move to](https://azure.microsoft.com/global-infrastructure/services/?products=monitor&regions=all).
137+
- Ensure that the subscription and resource group are available and the details in both the source and destination regions are identical.
138+
- Ensure that Azure autoscale is available in the [Azure region you want to move to](https://azure.microsoft.com/global-infrastructure/services/?products=monitor&regions=all).
137139

138140
### Move
139141

@@ -147,8 +149,8 @@ To learn more about moving resources between regions and disaster recovery in Az
147149

148150
## Next steps
149151

150-
- [Create an Activity Log Alert to monitor all Autoscale engine operations on your subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/monitor-autoscale-alert)
151-
- [Create an Activity Log Alert to monitor all failed Autoscale scale-in/scale-out operations on your subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/monitor-autoscale-failed-alert)
152+
- [Create an activity log alert to monitor all autoscale engine operations on your subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/monitor-autoscale-alert)
153+
- [Create an activity log alert to monitor all failed autoscale scale-in/scale-out operations on your subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/demos/monitor-autoscale-failed-alert)
152154

153155

154156
<!--Reference-->

0 commit comments

Comments
 (0)