From 61f36ac1ab87c40f7ce42de00908d7101c223217 Mon Sep 17 00:00:00 2001 From: stuart nelson Date: Sun, 11 Sep 2016 18:08:00 +0200 Subject: [PATCH] Activate filesystem collector on DragonFly (#302) --- README.md | 2 +- collector/filesystem_bsd.go | 2 +- collector/filesystem_common.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f3ccd266..b80a3c01 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ cpu | Exposes CPU statistics | FreeBSD diskstats | Exposes disk I/O statistics from `/proc/diskstats`. | Linux entropy | Exposes available entropy. | Linux filefd | Exposes file descriptor statistics from `/proc/sys/fs/file-nr`. | Linux -filesystem | Exposes filesystem statistics, such as disk space used. | FreeBSD, Linux, OpenBSD +filesystem | Exposes filesystem statistics, such as disk space used. | FreeBSD, Dragonfly, Linux, OpenBSD loadavg | Exposes load average. | Darwin, Dragonfly, FreeBSD, Linux, NetBSD, OpenBSD, Solaris mdadm | Exposes statistics about devices in `/proc/mdstat` (does nothing if no `/proc/mdstat` present). | Linux meminfo | Exposes memory statistics. | FreeBSD, Linux diff --git a/collector/filesystem_bsd.go b/collector/filesystem_bsd.go index f5c4ba35..3a2037a3 100644 --- a/collector/filesystem_bsd.go +++ b/collector/filesystem_bsd.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build freebsd openbsd darwin,amd64 +// +build freebsd openbsd darwin,amd64 dragonfly // +build !nofilesystem package collector diff --git a/collector/filesystem_common.go b/collector/filesystem_common.go index 3a5db130..cdca1883 100644 --- a/collector/filesystem_common.go +++ b/collector/filesystem_common.go @@ -12,7 +12,7 @@ // limitations under the License. // +build !nofilesystem -// +build linux freebsd openbsd darwin,amd64 +// +build linux freebsd openbsd darwin,amd64 dragonfly package collector