| 1 | <!--startmeta |
| 2 | custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/proc.plugin/integrations/disk_statistics.md" |
| 3 | meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/proc.plugin/metadata.yaml" |
| 4 | sidebar_label: "Disk Statistics" |
| 5 | learn_status: "Published" |
| 6 | learn_rel_path: "Collecting Metrics/Collectors/Storage and Filesystems" |
| 7 | keywords: ['disk', 'disks', 'io', 'block devices'] |
| 8 | message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE" |
| 9 | endmeta--> |
| 10 | |
| 11 | # Disk Statistics |
| 12 | |
| 13 | |
| 14 | <img src="https://netdata.cloud/img/hard-drive.svg" width="150"/> |
| 15 | |
| 16 | |
| 17 | Plugin: proc.plugin |
| 18 | Module: /proc/diskstats |
| 19 | |
| 20 | <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" /> |
| 21 | |
| 22 | ## Overview |
| 23 | |
| 24 | Detailed statistics for each of your system's disk devices and partitions. |
| 25 | The data is reported by the kernel and can be used to monitor disk activity on a Linux system. |
| 26 | |
| 27 | Get valuable insight into how your disks are performing and where potential bottlenecks might be. |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | This collector is supported on all platforms. |
| 33 | |
| 34 | This collector supports collecting metrics from multiple instances of this integration, including remote instances. |
| 35 | |
| 36 | |
| 37 | ### Default Behavior |
| 38 | |
| 39 | #### Auto-Detection |
| 40 | |
| 41 | This integration doesn't support auto-detection. |
| 42 | |
| 43 | #### Limits |
| 44 | |
| 45 | The default configuration for this integration does not impose any limits on data collection. |
| 46 | |
| 47 | #### Performance Impact |
| 48 | |
| 49 | The default configuration for this integration is not expected to impose a significant performance impact on the system. |
| 50 | |
| 51 | ## Setup |
| 52 | |
| 53 | |
| 54 | ### Prerequisites |
| 55 | |
| 56 | No action required. |
| 57 | |
| 58 | ### Configuration |
| 59 | |
| 60 | #### Options |
| 61 | |
| 62 | |
| 63 | |
| 64 | There are no configuration options. |
| 65 | |
| 66 | |
| 67 | |
| 68 | #### via File |
| 69 | |
| 70 | There is no configuration file. |
| 71 | |
| 72 | ##### Examples |
| 73 | There are no configuration examples. |
| 74 | |
| 75 | |
| 76 | |
| 77 | ## Alerts |
| 78 | |
| 79 | |
| 80 | The following alerts are available: |
| 81 | |
| 82 | | Alert name | On metric | Description | |
| 83 | |:------------|:----------|:------------| |
| 84 | | [ 10min_disk_backlog ](https://github.com/netdata/netdata/blob/master/src/health/health.d/disks.conf) | disk.backlog | average backlog size of the ${label:device} disk over the last 10 minutes | |
| 85 | | [ 10min_disk_utilization ](https://github.com/netdata/netdata/blob/master/src/health/health.d/disks.conf) | disk.util | average percentage of time ${label:device} disk was busy over the last 10 minutes | |
| 86 | |
| 87 | |
| 88 | ## Metrics |
| 89 | |
| 90 | Metrics grouped by *scope*. |
| 91 | |
| 92 | The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels. |
| 93 | |
| 94 | |
| 95 | |
| 96 | ### Per Disk Statistics instance |
| 97 | |
| 98 | |
| 99 | |
| 100 | This scope has no labels. |
| 101 | |
| 102 | Metrics: |
| 103 | |
| 104 | | Metric | Dimensions | Unit | |
| 105 | |:------|:----------|:----| |
| 106 | | system.io | in, out | KiB/s | |
| 107 | |
| 108 | ### Per disk |
| 109 | |
| 110 | |
| 111 | |
| 112 | Labels: |
| 113 | |
| 114 | | Label | Description | |
| 115 | |:-----------|:----------------| |
| 116 | | device | TBD | |
| 117 | | mount_point | TBD | |
| 118 | | device_type | TBD | |
| 119 | |
| 120 | Metrics: |
| 121 | |
| 122 | | Metric | Dimensions | Unit | |
| 123 | |:------|:----------|:----| |
| 124 | | disk.io | reads, writes | KiB/s | |
| 125 | | disk_ext.io | discards | KiB/s | |
| 126 | | disk.ops | reads, writes | operations/s | |
| 127 | | disk_ext.ops | discards, flushes | operations/s | |
| 128 | | disk.qops | operations | operations | |
| 129 | | disk.backlog | backlog | milliseconds | |
| 130 | | disk.busy | busy | milliseconds | |
| 131 | | disk.util | utilization | % of time working | |
| 132 | | disk.mops | reads, writes | merged operations/s | |
| 133 | | disk_ext.mops | discards | merged operations/s | |
| 134 | | disk.iotime | reads, writes | milliseconds/s | |
| 135 | | disk_ext.iotime | discards, flushes | milliseconds/s | |
| 136 | | disk.await | reads, writes | milliseconds/operation | |
| 137 | | disk_ext.await | discards, flushes | milliseconds/operation | |
| 138 | | disk.avgsz | reads, writes | KiB/operation | |
| 139 | | disk_ext.avgsz | discards | KiB/operation | |
| 140 | | disk.svctm | svctm | milliseconds/operation | |
| 141 | |
| 142 |