You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hi
I am trying to monitor Windows disk latency using windows_exporter. I tested disk performance using two commands below : C:\> diskspd.exe -c1G -d120 -b4K -o32 -t4 -w10 -L -D -Suw testfile.dat PS C:\> Get-Counter -ComputerName win-node -Counter '\LogicalDisk(*)\Avg. Disk sec/Read','\LogicalDisk(*)\Avg. Disk sec/Write' -SampleInterval 1
The output of both commands above shows average latency of 11 msec.
While the prometheus query "rate(windows_logical_disk_read_write_latency_seconds_total[20s])" prints 125
Why windows_exporter showing different result ?
Brian Candler
unread,
Dec 28, 2023, 10:44:28 AM12/28/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Probably because you need to divide by the average number of operations per second done in that time window.