Skip to content

Commit e32b8aa

Browse files
authored
Merge pull request #96660 from mprabhu23/patch-1
Kusto query for “Logical disk IOPS” is wrong
2 parents daee1e9 + ffe339c commit e32b8aa

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
@@ -174,7 +174,7 @@ InsightsMetrics
174174
| where Origin == "vm.azm.ms"
175175
| where Namespace == "LogicalDisk" and Name == "TransfersPerSecond"
176176
| extend Disk=tostring(todynamic(Tags)["vm.azm.ms/mountId"])
177-
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m) ), Computer, _ResourceId, Disk
177+
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m), Computer, _ResourceId, Disk
178178
```
179179
**Logical disk data rate**
180180

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

189189
## Network alerts

0 commit comments

Comments
 (0)