about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorHeikki Kallasjoki <fis@zem.fi>2018-11-30 17:05:38 +0000
committerHeikki Kallasjoki <fis@zem.fi>2018-11-30 17:05:38 +0000
commit7aa7f859f29d87d5b2628ad7f1dca27f36ceae13 (patch)
treeb7dc85e1f3aed8cef1f7aad4a7d810a53941b36b /README.md
parent5a33aec2b710e4d21377e5b82f4b0bdf6a13a408 (diff)
downloadnano-exporter-7aa7f859f29d87d5b2628ad7f1dca27f36ceae13.tar.gz
nano-exporter-7aa7f859f29d87d5b2628ad7f1dca27f36ceae13.tar.xz
nano-exporter-7aa7f859f29d87d5b2628ad7f1dca27f36ceae13.zip
Add the discard metrics to diskstats collector.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5c0f6cf..453b992 100644
--- a/README.md
+++ b/README.md
@@ -110,6 +110,15 @@ The metrics correspond to the columns of `/proc/diskstats`:
 * `node_disk_io_time_seconds_total`: Total time spent in disk I/O.
 * `node_disk_io_time_weighted_seconds_total`: Time spent in disk I/O
   weighted by the number of pending operations.
+* `node_disk_discards_completed_total`: Total number of discard
+  operations completed successfully.
+* `node_disk_discards_merged_total`: Total number of adjacent discard
+  operations merged.
+* `node_disk_discarded_sectors_total`: Total number of discarded
+  sectors. Note that this is in sectors, not bytes, unlike the
+  corresponding read/write metrics.
+* `node_disk_discard_time_seconds_total`: Total time spent in discard
+  operations.
 
 See the kernel's
 [Documentation/iostats.txt](https://www.kernel.org/doc/Documentation/iostats.txt)