Disk

Monitor storage capacity, inode availability, and I/O performance across all mounted partitions. This collector helps identify disk space exhaustion and I/O bottlenecks that can impact application performance.

Setup

Disk monitoring is enabled by default. The agent automatically discovers all mounted block devices and partitions upon startup. It ignores bind mounts and virtual filesystems to focus on physical storage.

Configuration

No configuration required.

Metrics

MetricTypeUnitDescription
disk_total_bytesGaugebytesTotal storage capacity of the partition.
disk_used_bytesGaugebytesAmount of used storage space.
disk_free_bytesGaugebytesAmount of available storage space.
disk_used_ratioGauge%Ratio of used storage (0.0 to 1.0).
disk_inodes_total_totalGauge-Total number of inodes available.
disk_inodes_used_totalGauge-Number of used inodes.
disk_inodes_free_totalGauge-Number of free inodes.
disk_inodes_used_ratioGauge%Ratio of used inodes (0.0 to 1.0).
disk_read_rateGaugereqs/sRate of read operations per second.
disk_write_rateGaugereqs/sRate of write operations per second.
disk_read_bpsGaugebytes/sRead throughput in bytes per second.
disk_write_bpsGaugebytes/sWrite throughput in bytes per second.
disk_busy_ratioGauge%Ratio of time the disk was busy (0.0 to 1.0).
disk_avg_request_msGaugemsAverage time per disk I/O request.

Labels

LabelDescriptionExample / Values
deviceThe underlying block device path./dev/sda1, C:
mountpointThe directory where the device is mounted./, /data, C:\