Skip to content

Commit d59c81f

Browse files
committed
two unrelated fixes.
1 parent e5d37a7 commit d59c81f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

articles/azure-monitor/alerts/alerts-metric-near-real-time.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ Here's the full list of Azure Monitor metric sources supported by metric alerts:
4343
|Microsoft.ClassicStorage/storageAccounts/fileServices | Yes | No | [Azure Files storage accounts (classic)](../essentials/metrics-supported.md#microsoftclassicstoragestorageaccountsfileservices) |
4444
|Microsoft.ClassicStorage/storageAccounts/queueServices | Yes | No | [Azure Queue Storage accounts (classic)](../essentials/metrics-supported.md#microsoftclassicstoragestorageaccountsqueueservices) |
4545
|Microsoft.ClassicStorage/storageAccounts/tableServices | Yes | No | [Azure Table Storage accounts (classic)](../essentials/metrics-supported.md#microsoftclassicstoragestorageaccountstableservices) |
46-
|Microsoft.CloudTest/hostedpools | Yes | No | [1ES Hosted Pools](../essentials/metrics-supported.md#microsoftcloudtesthostedpools) |
47-
|Microsoft.CloudTest/pools | Yes | No | [CloudTest Pools](../essentials/metrics-supported.md#microsoftcloudtestpools) |
4846
|Microsoft.CognitiveServices/accounts | Yes | No | [Azure AI services](../essentials/metrics-supported.md#microsoftcognitiveservicesaccounts) |
4947
|Microsoft.Compute/cloudServices | Yes | No | [Azure Cloud Services](../essentials/metrics-supported.md#microsoftcomputecloudservices) |
5048
|Microsoft.Compute/cloudServices/roles | Yes | No | [Azure Cloud Services roles](../essentials/metrics-supported.md#microsoftcomputecloudservicesroles) |

articles/azure-monitor/containers/container-insights-log-alerts.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ KubeNodeInventory
8181
) on Computer
8282
| where TimeGenerated >= CapacityStartTime and TimeGenerated < CapacityEndTime
8383
| project ClusterName, Computer, TimeGenerated, UsagePercent = UsageValue * 100.0 / LimitValue
84-
| summarize AggregatedValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize), ClusterName
84+
| summarize AggValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize), ClusterName
8585
```
8686

8787
Average memory utilization as an average of member nodes' memory utilization every minute (metric measurement):
@@ -116,7 +116,7 @@ KubeNodeInventory
116116
) on Computer
117117
| where TimeGenerated >= CapacityStartTime and TimeGenerated < CapacityEndTime
118118
| project ClusterName, Computer, TimeGenerated, UsagePercent = UsageValue * 100.0 / LimitValue
119-
| summarize AggregatedValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize), ClusterName
119+
| summarize AggValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize), ClusterName
120120
```
121121

122122
>[!IMPORTANT]
@@ -159,7 +159,7 @@ KubePodInventory
159159
) on Computer, InstanceName
160160
| where TimeGenerated >= LimitStartTime and TimeGenerated < LimitEndTime
161161
| project Computer, ContainerName, TimeGenerated, UsagePercent = UsageValue * 100.0 / LimitValue
162-
| summarize AggregatedValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize) , ContainerName
162+
| summarize AggValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize) , ContainerName
163163
```
164164

165165
Average memory utilization of all containers in a controller as an average of memory utilization of every container instance in a controller every minute (metric measurement):
@@ -199,7 +199,7 @@ KubePodInventory
199199
) on Computer, InstanceName
200200
| where TimeGenerated >= LimitStartTime and TimeGenerated < LimitEndTime
201201
| project Computer, ContainerName, TimeGenerated, UsagePercent = UsageValue * 100.0 / LimitValue
202-
| summarize AggregatedValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize) , ContainerName
202+
| summarize AggValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize) , ContainerName
203203
```
204204

205205
## Resource availability
@@ -265,11 +265,11 @@ KubePodInventory
265265
SucceededCount = todouble(SucceededCount) / ClusterSnapshotCount,
266266
FailedCount = todouble(FailedCount) / ClusterSnapshotCount,
267267
UnknownCount = todouble(UnknownCount) / ClusterSnapshotCount
268-
| summarize AggregatedValue = avg(PendingCount) by bin(TimeGenerated, trendBinSize)
268+
| summarize AggValue = avg(PendingCount) by bin(TimeGenerated, trendBinSize)
269269
```
270270

271271
>[!NOTE]
272-
>To alert on certain pod phases, such as `Pending`, `Failed`, or `Unknown`, modify the last line of the query. For example, to alert on `FailedCount`, use `| summarize AggregatedValue = avg(FailedCount) by bin(TimeGenerated, trendBinSize)`.
272+
>To alert on certain pod phases, such as `Pending`, `Failed`, or `Unknown`, modify the last line of the query. For example, to alert on `FailedCount`, use `| summarize AggValue = avg(FailedCount) by bin(TimeGenerated, trendBinSize)`.
273273
274274
The following query returns cluster nodes disks that exceed 90% free space used. To get the cluster ID, first run the following query and copy the value from the `ClusterId` property:
275275

@@ -294,8 +294,8 @@ InsightsMetrics
294294
| project TimeGenerated, ClusterId = Tags['container.azm.ms/clusterId'], Computer = tostring(Tags.hostName), Device = tostring(Tags.device), Path = tostring(Tags.path), DiskMetricName = Name, DiskMetricValue = Val
295295
| where ClusterId =~ clusterId
296296
| where DiskMetricName == 'used_percent'
297-
| summarize AggregatedValue = max(DiskMetricValue) by bin(TimeGenerated, trendBinSize)
298-
| where AggregatedValue >= 90
297+
| summarize AggValue = max(DiskMetricValue) by bin(TimeGenerated, trendBinSize)
298+
| where AggValue >= 90
299299
```
300300

301301
Individual container restarts (number of results) alert when the individual system container restart count exceeds a threshold for the last 10 minutes:

0 commit comments

Comments
 (0)