Skip to content

Commit 8a3ee0e

Browse files
committed
acrolynx
1 parent dcb2c8f commit 8a3ee0e

File tree

1 file changed

+24
-28
lines changed

1 file changed

+24
-28
lines changed

articles/azure-monitor/autoscale/autoscale-diagnostics.md

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Autoscale in Azure using a custom metric
3-
description: Learn how to scale your web app by using custom metrics in the Azure portal.
2+
title: Autoscale diagnostics
3+
description: Configure diagnostics in autoscale.
44
author: EdB-MSFT
55
ms.author: edbaynash
66
ms.service: azure-monitor
@@ -11,13 +11,9 @@ ms.reviewer: akkumari
1111

1212
# Customer intent: As a devops admin, I want to collect and analyze autoscale metrics and logs.
1313
---
14-
15-
>>> Where is the flapping logs ?
16-
17-
1814
# Diagnostic settings in Autoscale
1915

20-
Autoscale has two log categories and a set of metrics which can be enabled via the **Diagnostics settings** tab on the autoscale setting page.
16+
Autoscale has two log categories and a set of metrics that can be enabled via the **Diagnostics settings** tab on the autoscale setting page.
2117

2218
:::image type="content" source="./media/autoscale-diagnostics/autoscale-diagnostics-menu.png" alt-text="A screenshot showing the menu in the autoscale setting page":::
2319

@@ -27,15 +23,15 @@ The two categories are
2723
* [Autoscale Scale Actions](https://learn.microsoft.com/azure/azure-monitor/reference/tables/autoscalescaleactionslog) log data relating to each scale event.
2824

2925

30-
Information about Autoscale Metrics cn be found in the [Supported metrics](../essentials/metrics-supported#microsoftinsightsautoscalesettings) reference.
26+
Information about Autoscale Metrics can be found in the [Supported metrics](../essentials/metrics-supported#microsoftinsightsautoscalesettings) reference.
3127

32-
Both the logs and metrics can be sent to a variety of destinations including:
28+
Both the logs and metrics can be sent to various destinations including:
3329
* Log Analytics workspaces
3430
* Storage accounts
3531
* Event hubs
3632
* Partner solutions
3733

38-
For mor information on diagnostics see [Diagnostic settings in Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal)
34+
For more information on diagnostics, see [Diagnostic settings in Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal)
3935

4036
## Resource log schemas
4137

@@ -50,7 +46,7 @@ The following schemas appear in the autoscale evaluations log.
5046

5147
Recorded when autoscale first looks at an autoscale profile
5248

53-
```json
49+
```JSON
5450
{
5551
"time": "2018-09-10 18:12:00.6132593",
5652
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -67,9 +63,9 @@ Recorded when autoscale first looks at an autoscale profile
6763

6864
### Profile cooldown evaluation
6965

70-
Recorded when autoscale evaluates if it should not do a scale because of a cool down period.
66+
Recorded when autoscale evaluates if it shouldn't scale because of a cool down period.
7167

72-
```json
68+
```JSON
7369
{
7470
"time": "2018-09-10 18:12:00.6132593",
7571
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -92,7 +88,7 @@ Recorded when autoscale evaluates if it should not do a scale because of a cool
9288

9389
Recorded when autoscale first starts evaluating a particular scale rule.
9490

95-
```json
91+
```JSON
9692
{
9793
"time": "2018-09-10 18:12:00.6132593",
9894
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -119,7 +115,7 @@ Recorded when autoscale first starts evaluating a particular scale rule.
119115

120116
Recorded when autoscale evaluated the metric being used to trigger a scale action.
121117

122-
```json
118+
```JSON
123119
{
124120
"time": "2018-09-10 18:12:00.6132593",
125121
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -143,7 +139,7 @@ Recorded when autoscale evaluated the metric being used to trigger a scale actio
143139

144140
Recorded when autoscale evaluates the number of instances already running in preparation for deciding if it should start more, shut down some, or do nothing.
145141

146-
```json
142+
```JSON
147143
{
148144
"time": "2018-09-10 18:12:00.6132593",
149145
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -164,7 +160,7 @@ Recorded when autoscale evaluates the number of instances already running in pre
164160

165161
Recorded when autoscale starts evaluation if a scale action should take place.
166162

167-
```json
163+
```JSON
168164
{
169165
"time": "2018-09-10 18:12:00.6132593",
170166
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -184,7 +180,7 @@ Recorded when autoscale starts evaluation if a scale action should take place.
184180

185181
Recorded when autoscale updates the number of compute instances running, either up or down.
186182

187-
```json
183+
```JSON
188184
{
189185
"time": "2018-09-10 18:12:00.6132593",
190186
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -209,7 +205,7 @@ The following schemas appear in the autoscale evaluations log.
209205
### Scale action
210206

211207
Recorded when autoscale initiates a scale action, either up or down.
212-
```json
208+
```JSON
213209
{
214210
"time": "2018-09-10 18:12:00.6132593",
215211
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -233,7 +229,7 @@ Recorded when autoscale initiates a scale action, either up or down.
233229

234230
Recorded at different intervals of an instance scale action.
235231

236-
```json
232+
```JSON
237233
{
238234
"time": "2018-09-10 18:12:00.6132593",
239235
"resourceId": "/SUBSCRIPTIONS/BA13C41D-C957-4774-8A37-092D62ACFC85/RESOURCEGROUPS/AUTOSCALETRACKING12042017/PROVIDERS/MICROSOFT.INSIGHTS/AUTOSCALESETTINGS/DEFAULTSETTING",
@@ -263,13 +259,13 @@ The follwoing events are logged to the Activity log with CategoryValue =="Autosc
263259
* Predictive Metric Failure
264260
* Flapping
265261

266-
An extract of each log event name, showing the relevant parts of the `Propertes` element are shown below:
262+
An extract of each log event name, showing the relevant parts of the `Properties` element are shown below:
267263

268264
### Autoscale action
269265

270266
Logged when autoscale attempts to scale in or out.
271267

272-
```json
268+
```JSON
273269
{
274270
"eventCategory": "Autoscale",
275271
"eventName": "AutoscaleAction",
@@ -347,9 +343,9 @@ Logged when autoscale attempts to scale in or out.
347343

348344
### Get Operation Status Result
349345

350-
Logged following an scale event.
346+
Logged following a scale event.
351347

352-
```json
348+
```JSON
353349

354350
"Properties":{
355351
"eventCategory": "Autoscale",
@@ -364,7 +360,7 @@ Logged following an scale event.
364360

365361
### Metric failure
366362

367-
Logged when autoscale cannot determine the value of the metric used in the scale rule.
363+
Logged when autoscale can't determine the value of the metric used in the scale rule.
368364

369365
```JSON
370366
"Properties":{
@@ -380,7 +376,7 @@ Logged when autoscale cannot determine the value of the metric used in the scale
380376

381377
Logged when autoscale can once again determine the value of the metric used in the scale rule after a `MetricFailure` event
382378

383-
```json
379+
```JSON
384380
"Properties":{
385381
"eventCategory": "Autoscale",
386382
"eventName": "MetricRecovery",
@@ -392,9 +388,9 @@ Logged when autoscale can once again determine the value of the metric used in t
392388
```
393389
### Predictive Metric Failure
394390

395-
Logged when autoscale can not calculate a predicted scale events due to the metric being unavailable.
391+
Logged when autoscale can't calculate predicted scale events due to the metric being unavailable.
396392

397-
```json
393+
```JSON
398394
"Properties":{
399395
"eventCategory": "Autoscale",
400396
"eventName": "PredictiveMetricFailure",

0 commit comments

Comments
 (0)