diff options
author | Heikki Kallasjoki <fis@zem.fi> | 2018-11-30 22:28:10 +0000 |
---|---|---|
committer | Heikki Kallasjoki <fis@zem.fi> | 2018-11-30 22:28:10 +0000 |
commit | 11766041777085ef2746aedda66bf9483a7f1892 (patch) | |
tree | 848a4b20ef2bd0a30226dff4d34dce82a63a0ef2 /README.md | |
parent | 202a4f83a9449a0d36b9475435233e5773d490aa (diff) | |
download | nano-exporter-11766041777085ef2746aedda66bf9483a7f1892.tar.gz nano-exporter-11766041777085ef2746aedda66bf9483a7f1892.tar.xz nano-exporter-11766041777085ef2746aedda66bf9483a7f1892.zip |
Filter out unused devices from diskstats.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md index e6c580a..abb2cc0 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ The metrics correspond to the columns of `/proc/diskstats`: See the kernel's [Documentation/iostats.txt](https://www.kernel.org/doc/Documentation/iostats.txt) -for more details. The collector assumes the read/write totals are +file for more details. The collector assumes the read/write totals are reported using a sector size of 512 bytes. All metrics have one label, `device`, containing the device name from @@ -149,6 +149,9 @@ not mentioned on the exclude list are included. If the given value ends in `*`, it matches any string that begins with the part before the `*`; otherwise, the match must be exact. +By default, if the device is entirely unused (all metrics are 0), it's +omitted. Use `--diskstats-keep-unused` to include even those devices. + ### `filesystem` Metrics: |