diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-04-26 16:22:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-04-26 16:22:17 +0000 |
commit | 58b482856cf37b0519e516ab8dc1105ba958f8b2 (patch) | |
tree | 0c46396e98741dfae4ce907bc8ef8c54418b3753 /collectors/proc.plugin/README.md | |
parent | Adding upstream version 1.14.0~rc0. (diff) | |
download | netdata-58b482856cf37b0519e516ab8dc1105ba958f8b2.tar.xz netdata-58b482856cf37b0519e516ab8dc1105ba958f8b2.zip |
Adding upstream version 1.14.0.upstream/1.14.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/proc.plugin/README.md')
-rw-r--r-- | collectors/proc.plugin/README.md | 51 |
1 files changed, 28 insertions, 23 deletions
diff --git a/collectors/proc.plugin/README.md b/collectors/proc.plugin/README.md index c484b11d6..37dc19f86 100644 --- a/collectors/proc.plugin/README.md +++ b/collectors/proc.plugin/README.md @@ -71,7 +71,7 @@ Hopefully, the Linux kernel provides many metrics that can provide deep insights ### disk names -netdata will automatically set the name of disks on the dashboard, from the mount point they are mounted, of course only when they are mounted. Changes in mount points are not currently detected (you will have to restart netdata to change the name of the disk). +netdata will automatically set the name of disks on the dashboard, from the mount point they are mounted, of course only when they are mounted. Changes in mount points are not currently detected (you will have to restart netdata to change the name of the disk). To use disk IDs provided by `/dev/disk/by-id`, the `name disks by id` option should be enabled. The `preferred disk ids` simple pattern allows choosing disk IDs to be used in the first place. ### performance metrics @@ -99,28 +99,33 @@ Then edit `netdata.conf` and find the following section. This is the basic plugi ``` [plugin:proc:/proc/diskstats] - # enable new disks detected at runtime = yes - # performance metrics for physical disks = auto - # performance metrics for virtual disks = no - # performance metrics for partitions = no - # performance metrics for mounted filesystems = no - # performance metrics for mounted virtual disks = auto - # space metrics for mounted filesystems = auto - # bandwidth for all disks = auto - # operations for all disks = auto - # merged operations for all disks = auto - # i/o time for all disks = auto - # queued operations for all disks = auto - # utilization percentage for all disks = auto - # backlog for all disks = auto - # space usage for all disks = auto - # inodes usage for all disks = auto - # filename to monitor = /proc/diskstats - # path to get block device infos = /sys/dev/block/%lu:%lu/%s - # path to get h/w sector size = /sys/block/%s/queue/hw_sector_size - # path to get h/w sector size for partitions = /sys/dev/block/%lu:%lu/subsystem/%s/../queue -/hw_sector_size - + # enable new disks detected at runtime = yes + # performance metrics for physical disks = auto + # performance metrics for virtual disks = auto + # performance metrics for partitions = no + # bandwidth for all disks = auto + # operations for all disks = auto + # merged operations for all disks = auto + # i/o time for all disks = auto + # queued operations for all disks = auto + # utilization percentage for all disks = auto + # backlog for all disks = auto + # bcache for all disks = auto + # bcache priority stats update every = 0 + # remove charts of removed disks = yes + # path to get block device = /sys/block/%s + # path to get block device bcache = /sys/block/%s/bcache + # path to get virtual block device = /sys/devices/virtual/block/%s + # path to get block device infos = /sys/dev/block/%lu:%lu/%s + # path to device mapper = /dev/mapper + # path to /dev/disk/by-label = /dev/disk/by-label + # path to /dev/disk/by-id = /dev/disk/by-id + # path to /dev/vx/dsk = /dev/vx/dsk + # name disks by id = no + # preferred disk ids = * + # exclude disks = loop* ram* + # filename to monitor = /proc/diskstats + # performance metrics for disks with major 8 = yes ``` For each virtual disk, physical disk and partition you will have a section like this: |