Skip to content

Commit

Permalink
Ignore more boring filesystems from disk plugin (influxdata#4244)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreF authored and otherpirate committed Mar 15, 2019
1 parent a34c9c0 commit 7820170
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion etc/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@
# mount_points = ["/"]

## 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
Expand Down
2 changes: 1 addition & 1 deletion etc/telegraf_windows.conf
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
#
# ## Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually
# ## 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
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/system/DISK_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ https://en.wikipedia.org/wiki/Df_(Unix) for more details.
# mount_points = ["/"]

## Ignore mount points by filesystem type.
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
```

#### Docker container
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/system/disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var diskSampleConfig = `
# mount_points = ["/"]
## Ignore mount points by filesystem type.
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
`

func (_ *DiskStats) SampleConfig() string {
Expand Down

0 comments on commit 7820170

Please sign in to comment.