From 9a189b903e9acf84153ac744a3464fff568130b6 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 18 Feb 2016 12:13:43 +0100 Subject: [PATCH] Add FreeBSD 'cpu' exporter to default collectors. As of `1fc84e2fb69ee3d1f063399b00a6284fc8e27cb8` it does not require root anymore. --- README.md | 2 +- node_exporter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9dd4d4b4..c53d33d0 100644 --- a/README.md +++ b/README.md @@ -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_ diff --git a/node_exporter.go b/node_exporter.go index ef570f20..4f64663f 100644 --- a/node_exporter.go +++ b/node_exporter.go @@ -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 (