Add FreeBSD 'cpu' exporter to default collectors.
As of `1fc84e2fb69ee3d1f063399b00a6284fc8e27cb8` it does not require root anymore.pull/208/head
parent
1fc84e2fb6
commit
9a189b903e
|
@ -17,6 +17,7 @@ Which collectors are used is controlled by the `--collectors.enabled` flag.
|
||||||
Name | Description | OS
|
Name | Description | OS
|
||||||
---------|-------------|----
|
---------|-------------|----
|
||||||
conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux
|
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
|
diskstats | Exposes disk I/O statistics from `/proc/diskstats`. | Linux
|
||||||
entropy | Exposes available entropy. | Linux
|
entropy | Exposes available entropy. | Linux
|
||||||
filefd | Exposes file descriptor statistics. | Linux
|
filefd | Exposes file descriptor statistics. | Linux
|
||||||
|
@ -37,7 +38,6 @@ version | Exposes node\_exporter version. | _any_
|
||||||
|
|
||||||
Name | Description | OS
|
Name | Description | OS
|
||||||
---------|-------------|----
|
---------|-------------|----
|
||||||
cpu | Exposes CPU statistics | FreeBSD
|
|
||||||
bonding | Exposes the number of configured and active slaves of Linux bonding interfaces. | Linux
|
bonding | Exposes the number of configured and active slaves of Linux bonding interfaces. | Linux
|
||||||
devstat | Exposes device statistics | FreeBSD
|
devstat | Exposes device statistics | FreeBSD
|
||||||
gmond | Exposes statistics from Ganglia. | _any_
|
gmond | Exposes statistics from Ganglia. | _any_
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
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 (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue