mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 10:09:05 +02:00
docs: explain idle time rates above 1 for logical_disk and physical_disk (#2770)
Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
4ab9d475e1
commit
f6e8e67a00
@@ -37,6 +37,16 @@ If given, a disk needs to *not* match the exclude regular expression in order fo
|
||||
| windows_physical_disk_read_write_latency_seconds_total | The time, in seconds, of the average disk transfer (PhysicalDisk.AvgDiskSecPerTransfer) | Counter | disk |
|
||||
|
||||
|
||||
### Idle time
|
||||
`windows_physical_disk_idle_seconds_total` is the `% Idle Time` counter, converted to seconds: the cumulative idle time of the disk.
|
||||
Windows updates it unevenly while the disk is busy and catches up afterwards, so the rate over a short window can exceed 1
|
||||
right after a burst of I/O. Performance Monitor also shows values above 100%.
|
||||
The errors mostly cancel out over longer windows, but can still push a 5m rate slightly above 1.
|
||||
Clamp the rate to 1 when you derive the busy time from it:
|
||||
```
|
||||
1 - clamp_max(rate(windows_physical_disk_idle_seconds_total[5m]), 1)
|
||||
```
|
||||
|
||||
### Example metric
|
||||
Query the rate of write operations to a disk
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user