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
| summarize AggregatedValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize) , ContainerName
162
+
| summarize AggValue = avg(UsagePercent) by bin(TimeGenerated, trendBinSize) , ContainerName
163
163
```
164
164
165
165
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
199
199
) on Computer, InstanceName
200
200
| where TimeGenerated >= LimitStartTime and TimeGenerated < LimitEndTime
| summarize AggregatedValue = avg(PendingCount) by bin(TimeGenerated, trendBinSize)
268
+
| summarize AggValue = avg(PendingCount) by bin(TimeGenerated, trendBinSize)
269
269
```
270
270
271
271
>[!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)`.
273
273
274
274
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:
| 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
299
299
```
300
300
301
301
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