You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/autoscale/autoscale-overview.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ When your application experiences higher load, autoscale adds resources to handl
27
27
28
28
For example, scale out your application by adding VMs when the average CPU usage per VM is above 70%. Scale it back by removing VMs when CPU usage drops to 40%.
29
29
30
-
:::image type="content" source="./media/autoscale-overview/AutoscaleConcept.png" alt-text="A diagram that shows scaling out by adding virtual machine instances.":::
30
+
:::image type="content" source="./media/autoscale-overview/AutoscaleConcept.png" lightbox="./media/autoscale-overview/AutoscaleConcept.png" alt-text="A diagram that shows scaling out by adding virtual machine instances.":::
31
31
32
32
When the conditions in the rules are met, one or more autoscale actions are triggered, adding or removing VMs. You can also perform other actions like sending email, notifications, or webhooks to trigger processes in other systems.
33
33
@@ -37,7 +37,7 @@ Autoscale scales in and out, or horizontally. Scaling horizontally is an increas
37
37
38
38
In contrast, scaling up and down, or vertical scaling, keeps the same number of resource instances constant but gives them more capacity in terms of memory, CPU speed, disk space, and network. Vertical scaling is limited by the availability of larger hardware, which eventually reaches an upper limit. Hardware size availability varies in Azure by region. Vertical scaling might also require a restart of the VM during the scaling process. Autoscale does not support vertical scaling.
39
39
40
-
:::image type="content" source="./media/autoscale-overview/vertical-scaling.png" alt-text="A diagram that shows scaling up by adding CPU and memory to a virtual machine.":::
40
+
:::image type="content" source="./media/autoscale-overview/vertical-scaling.png" lightbox="./media/autoscale-overview/vertical-scaling.png" alt-text="A diagram that shows scaling up by adding CPU and memory to a virtual machine.":::
41
41
42
42
When the conditions in the rules are met, one or more autoscale actions are triggered, adding or removing VMs. You can also perform other actions like sending email, notifications, or webhooks to trigger processes in other systems.
43
43
@@ -58,7 +58,7 @@ You can set up autoscale via:
58
58
59
59
The following diagram shows the autoscale architecture.
60
60
61
-

61
+
:::image type="content" source="./media/autoscale-overview/Autoscale_Overview_v4.png" lightbox="./media/autoscale-overview/Autoscale_Overview_v4.png" alt-text="Diagram that shows autoscale flow.":::
62
62
63
63
### Resource metrics
64
64
@@ -109,7 +109,7 @@ Autoscale uses the following terminology and structure.
109
109
| Schedule | recurrence | Indicates when autoscale should put this scale condition or profile into effect. You can have multiple scale conditions, which allow you to handle different and overlapping requirements. For example, you can have different scale conditions for different times of day or days of the week. |
110
110
| Notify | notification | Defines the notifications to send when an autoscale event occurs. Autoscale can notify one or more email addresses or make a call by using one or more webhooks. You can configure multiple webhooks in the JSON but only one in the UI. |
111
111
112
-

112
+
:::image type="content" source="./media/autoscale-overview/azure-resource-manager-rule-structure-3.png" lightbox="./media/autoscale-overview/azure-resource-manager-rule-structure-3.png" alt-text="Diagram that shows Azure autoscale setting, profile, and rule structure.":::
113
113
114
114
The full list of configurable fields and descriptions is available in the [Autoscale REST API](/rest/api/monitor/autoscalesettings).
Copy file name to clipboardExpand all lines: articles/azure-monitor/autoscale/autoscale-troubleshoot.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,16 +46,16 @@ An autoscale setting for a virtual machine scale set:
46
46
Let's review the metrics from the autoscale service.
47
47
48
48
The following chart shows a **Percentage CPU** metric for a virtual machine scale set.
49
-
50
-

49
+
<!-- convertborder later -->
50
+
:::image type="content" source="media/autoscale-troubleshoot/autoscale-vmss-CPU-ex-full-1.png" lightbox="media/autoscale-troubleshoot/autoscale-vmss-CPU-ex-full-1.png" alt-text="Screenshot that shows a virtual machine scale set percentage CPU example." border="false":::
51
51
52
52
The next chart shows the **Observed Metric Value** metric for an autoscale setting.
53
-
54
-

53
+
<!-- convertborder later -->
54
+
:::image type="content" source="media/autoscale-troubleshoot/autoscale-vmss-CPU-ex-full-2.png" lightbox="media/autoscale-troubleshoot/autoscale-vmss-CPU-ex-full-2.png" alt-text="Screenshot that shows another virtual machine scale set percentage CPU example." border="false":::
55
55
56
56
The final chart shows the **Metric Threshold** and **Observed Capacity** metrics. The **Metric Threshold** metric at the top for the scale-out rule is 70. The **Observed Capacity** metric at the bottom shows the number of active instances, which is currently 3.
57
-
58
-

57
+
<!-- convertborder later -->
58
+
:::image type="content" source="media/autoscale-troubleshoot/autoscale-metric-threshold-capacity-ex-full.png" lightbox="media/autoscale-troubleshoot/autoscale-metric-threshold-capacity-ex-full.png" alt-text="Screenshot that shows Metric Threshold and Observed Capacity." border="false":::
59
59
60
60
> [!NOTE]
61
61
> You can filter **Metric Threshold** by the metric trigger rule dimension scale-out (increase) rule to see the scale-out threshold and by the scale-in rule (decrease).
@@ -71,24 +71,24 @@ In this case, the autoscale engine's observed metric value is calculated as the
71
71
The following screenshots show two metric charts.
72
72
73
73
The **Avg Outbound Flows** chart shows the value of the **Outbound Flows** metric. The actual value is 6.
74
-
75
-

74
+
<!-- convertborder later -->
75
+
:::image type="content" source="media/autoscale-troubleshoot/autoscale-vmss-metric-chart-ex-1.png" lightbox="media/autoscale-troubleshoot/autoscale-vmss-metric-chart-ex-1.png" alt-text="Screenshot that shows the Average Outbound Flows page with an example of a virtual machine scale set autoscale metrics chart." border="false":::
76
76
77
77
The following chart shows a few values:
78
78
79
79
- The **Observed Metric Value** metric in the middle is 3 because there are 2 active instances, and 6 divided by 2 is 3.
80
80
- The **Observed Capacity** metric at the bottom shows the instance count seen by an autoscale engine.
81
81
- The **Metric Threshold** metric at the top is set to 10.
82
-
83
-

82
+
<!-- convertborder later -->
83
+
:::image type="content" source="media/autoscale-troubleshoot/autoscale-vmss-metric-chart-ex-2.png" lightbox="media/autoscale-troubleshoot/autoscale-vmss-metric-chart-ex-2.png" alt-text="Screenshot that shows a virtual machine scale set autoscale metrics charts example." border="false":::
84
84
85
85
If there are multiple scale action rules, you can use splitting or the **add filter** option in the metrics explorer chart to look at a metric by a specific source or rule. For more information on splitting a metric chart, see [Advanced features of metric charts - splitting](../essentials/metrics-charts.md#apply-splitting).
86
86
87
87
## Example 3: Understand autoscale events
88
88
89
89
In the autoscale setting screen, go to the **Run history** tab to see the most recent scale actions. The tab also shows the change in **Observed Capacity** over time. To find more information about all autoscale actions, including operations such as update/delete autoscale settings, view the activity log and filter by autoscale operations.
90
-
91
-

90
+
<!-- convertborder later -->
91
+
:::image type="content" source="media/autoscale-troubleshoot/autoscale-setting-run-history-smaller.png" lightbox="media/autoscale-troubleshoot/autoscale-setting-run-history-smaller.png" alt-text="Screenshot that shows autoscale settings run history." border="false":::
92
92
93
93
## Autoscale resource logs
94
94
@@ -102,8 +102,8 @@ As with any Azure Monitor supported service, you can use [diagnostic settings](.
102
102
- Your Log Analytics workspace for detailed analytics.
103
103
- Azure Event Hubs and then to non-Azure tools.
104
104
- Your Azure Storage account for archive.
105
-
106
-

The preceding screenshot shows the Azure portal autoscale **Diagnostics settings** pane. There you can select the **Diagnostic/Resource Logs** tab and enable log collection and routing. You can also perform the same action by using the REST API, the Azure CLI, PowerShell, and Azure Resource Manager templates for diagnostic settings by choosing the resource type as **Microsoft.Insights/AutoscaleSettings**.
0 commit comments