Ignore more boring filesystems from disk plugin (#4244)
This commit is contained in:
parent
5f0cbd1255
commit
a4214abfc4
|
@ -1077,7 +1077,7 @@
|
||||||
# mount_points = ["/"]
|
# mount_points = ["/"]
|
||||||
|
|
||||||
## Ignore mount points by filesystem type.
|
## Ignore mount points by filesystem type.
|
||||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
|
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
|
||||||
|
|
||||||
|
|
||||||
# Read metrics about disk IO by device
|
# Read metrics about disk IO by device
|
||||||
|
|
|
@ -242,7 +242,7 @@
|
||||||
#
|
#
|
||||||
# ## Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually
|
# ## Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually
|
||||||
# ## present on /run, /var/run, /dev/shm or /dev).
|
# ## present on /run, /var/run, /dev/shm or /dev).
|
||||||
# # ignore_fs = ["tmpfs", "devtmpfs"]
|
# # ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
|
||||||
|
|
||||||
|
|
||||||
# # Read metrics about disk IO by device
|
# # Read metrics about disk IO by device
|
||||||
|
|
|
@ -16,7 +16,7 @@ https://en.wikipedia.org/wiki/Df_(Unix) for more details.
|
||||||
# mount_points = ["/"]
|
# mount_points = ["/"]
|
||||||
|
|
||||||
## Ignore mount points by filesystem type.
|
## Ignore mount points by filesystem type.
|
||||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
|
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Docker container
|
#### Docker container
|
||||||
|
|
|
@ -28,7 +28,7 @@ var diskSampleConfig = `
|
||||||
# mount_points = ["/"]
|
# mount_points = ["/"]
|
||||||
|
|
||||||
## Ignore mount points by filesystem type.
|
## Ignore mount points by filesystem type.
|
||||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
|
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
|
||||||
`
|
`
|
||||||
|
|
||||||
func (_ *DiskStats) SampleConfig() string {
|
func (_ *DiskStats) SampleConfig() string {
|
||||||
|
|
Loading…
Reference in New Issue