Physical Disk Average Disk Queue Length Windows Server 2016 and above

Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskQueueLength.Collection (Rule)

Collects the performance counter PhysicalDisk\Avg. Disk Queue Length

Knowledge Base article:

Summary

This rule collects performance data for the Physical Disk\Avg. Disk Queue Length performance counter.

The Physical Disk\Avg. Disk Queue Length performance counters exposes the average numbers of both read and write requests that were queued for the selected disk during the sample interval.

Element properties:

TargetMicrosoft.Windows.Server.10.0.PhysicalDisk
CategoryPerformanceCollection
EnabledFalse
Instance NamePhysicalDisk
Counter NameAvg. Disk Queue Length
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.PhysicalDisk.AvgDiskQueueLength.Collection" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.PhysicalDisk">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Avg. Disk Queue Length</CounterName>
<ObjectName>PhysicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.PhysicalDisk"]/PerfmonInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>15</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>