Skip to content

Commit ffe339c

Browse files
authored
Kusto query for “Logical disk IOPS” is wrong
1 parent 0c8e213 commit ffe339c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/vm/monitor-virtual-machine-alerts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ InsightsMetrics
177177
| where Origin == "vm.azm.ms"
178178
| where Namespace == "LogicalDisk" and Name == "TransfersPerSecond"
179179
| extend Disk=tostring(todynamic(Tags)["vm.azm.ms/mountId"])
180-
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m) ), Computer, _ResourceId, Disk
180+
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m), Computer, _ResourceId, Disk
181181
```
182182
**Logical disk data rate**
183183

@@ -186,7 +186,7 @@ InsightsMetrics
186186
| where Origin == "vm.azm.ms"
187187
| where Namespace == "LogicalDisk" and Name == "BytesPerSecond"
188188
| extend Disk=tostring(todynamic(Tags)["vm.azm.ms/mountId"])
189-
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m) , Computer, _ResourceId, Disk
189+
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m), Computer, _ResourceId, Disk
190190
```
191191

192192
## Network alerts

0 commit comments

Comments
 (0)