Feature Request: Support for User Input Delay Performance Counters
Starting in Windows 2019 and higher Microsoft has released some new performance counters for Remote Desktop Session Hosts: https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-rdsh-performance-counters
The ability to capture data for "User Input Delay per Process" and User Input Delay per Session(Max and Average)"
The CimClasses involved are
- Win32_PerfRawData_LSM_UserInputDelayperProcess
- Win32_PerfFormattedData_LSM_UserInputDelayperProcess
- Win32_PerfRawData_LSM_UserInputDelayperSession
- Win32_PerfFormattedData_LSM_UserInputDelayperSession
Do you know if these classes are available through Perflib? You could try running Get-Counter -ListSet * | Sort-Object -Property CounterSetName | Select CounterSetName and reviewing the output to see if there are any relevant counter sets.
If not it would be possible to implement a WMI collector for this, though that would be a last resort.
@breed808 looks like the classes are available through Perflib.
PS C:\Windows\system32> Get-Counter -ListSet User* | Sort-Object -Property CounterSetName | Select CounterSetName
CounterSetName
User Input Delay per Process User Input Delay per Session
@mrclemensiii do you currently use either the terminal_services or remote_fx collectors? We're considering merging the User Input Delay metrics to one of these collectors, due to the small number of new metrics.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.