Merge pull request #208 from problame/freebsd

Add FreeBSD 'cpu' exporter to default collectors.
This commit is contained in:
Brian Brazil 2016-02-18 12:37:27 +00:00
commit 3853d9f0a6
2 changed files with 2 additions and 2 deletions

View file

@ -17,6 +17,7 @@ Which collectors are used is controlled by the `--collectors.enabled` flag.
Name | Description | OS
---------|-------------|----
conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux
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. | Linux
@ -37,7 +38,6 @@ version | Exposes node\_exporter version. | _any_
Name | Description | OS
---------|-------------|----
cpu | Exposes CPU statistics | FreeBSD
bonding | Exposes the number of configured and active slaves of Linux bonding interfaces. | Linux
devstat | Exposes device statistics | FreeBSD
gmond | Exposes statistics from Ganglia. | _any_

View file

@ -29,7 +29,7 @@ import (
)
const (
defaultCollectors = "conntrack,diskstats,entropy,filefd,filesystem,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,version,vmstat"
defaultCollectors = "conntrack,cpu,diskstats,entropy,filefd,filesystem,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,version,vmstat"
)
var (