chore(docs): Add labels to diskdrive docs

Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
Ben Reedy 2023-01-15 09:50:16 +10:00
parent 5331909446
commit 0ea3bfa5c9
No known key found for this signature in database
GPG Key ID: 235C15B6086C9D7E
1 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ The diskdrive collector exposes metrics about physical disks
| | | | | |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Metric name prefix | `diskdrive` | | Metric name prefix | `diskdrive` |
| Classes | [`Win32_PerfRawData_DNS_DNS`] (https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-diskdrive) | | Classes | [`Win32_PerfRawData_DNS_DNS`](https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-diskdrive) |
| Enabled by default? | No | | Enabled by default? | No |
## Flags ## Flags
@ -16,11 +16,11 @@ None
| Name | Description | Type | Labels | | Name | Description | Type | Labels |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ------ | | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ------ |
| `disk_drive_info` | General identifiable information about the disk drive | gauge | None | | `disk_drive_info` | General identifiable information about the disk drive | gauge | name,caption,device_id,model |
| `disk_drive_availability` | The disk drive's current availability | counter | None | | `disk_drive_availability` | The disk drive's current availability | gauge | name,availability |
| `disk_drive_partitions` | Number of partitions on the drive | gauge | None | | `disk_drive_partitions` | Number of partitions on the drive | gauge | name |
| `disk_drive_size` | Size of the disk drive. It is calculated by multiplying the total number of cylinders, tracks in each cylinder, sectors in each track, and bytes in each sector. | gauge | None | | `disk_drive_size` | Size of the disk drive. It is calculated by multiplying the total number of cylinders, tracks in each cylinder, sectors in each track, and bytes in each sector. | gauge | name |
| `disk_drive_status` | Operational status of the drive | counter | None | | `disk_drive_status` | Operational status of the drive | gauge | name,status |
## Alerting examples ## Alerting examples
**prometheus.rules** **prometheus.rules**