mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 18:19:04 +02:00
docs: align collector documentation with the collector source (#2668)
Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
d8f281ba97
commit
c548875ccd
@@ -5,19 +5,19 @@ The physical_disk collector exposes metrics about physical disks
|
||||
|||
|
||||
-|-
|
||||
Metric name prefix | `physical_disk`
|
||||
Data source | Perflib
|
||||
Counters | `physicalDisk` ([`Win32_PerfRawData_PerfDisk_physicalDisk`](https://msdn.microsoft.com/en-us/windows/hardware/aa394307(v=vs.71)))
|
||||
Data source | Performance Data
|
||||
Counters | `PhysicalDisk`
|
||||
Enabled by default? | Yes
|
||||
|
||||
## Flags
|
||||
|
||||
### `--collector.physical_disk.disk-include`
|
||||
|
||||
If given, a disk needs to match the include regexp in order for the corresponding disk metrics to be reported
|
||||
If given, a disk needs to match the include regular expression in order for the corresponding disk metrics to be reported. Default: `.+`
|
||||
|
||||
### `--collector.physical_disk.disk-exclude`
|
||||
|
||||
If given, a disk needs to *not* match the exclude regexp in order for the corresponding disk metrics to be reported
|
||||
If given, a disk needs to *not* match the exclude regular expression in order for the corresponding disk metrics to be reported. Default: empty
|
||||
|
||||
## Metrics
|
||||
|
||||
@@ -37,10 +37,6 @@ If given, a disk needs to *not* match the exclude regexp in order for the corres
|
||||
| windows_physical_disk_read_write_latency_seconds_total | The time, in seconds, of the average disk transfer (PhysicalDisk.AvgDiskSecPerTransfer) | Counter | disk |
|
||||
|
||||
|
||||
### Warning about size metrics
|
||||
The `free_bytes` and `size_bytes` metrics are not updated in real time and might have a delay of 10-15min.
|
||||
This is the same behavior as the windows performance counters.
|
||||
|
||||
### Example metric
|
||||
Query the rate of write operations to a disk
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user