From ba635842fc271dbdf59b2791396de5b3a5d0fc23 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Sat, 4 Feb 2017 02:44:01 -0500 Subject: [PATCH] Add wifi collector to default collectors (#447) --- README.md | 2 +- node_exporter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d0df8e7..33ab0a6f 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ textfile | Exposes statistics read from local disk. The `--collector.textfile.di time | Exposes the current system time. | _any_ uname | Exposes system information as provided by the uname system call. | Linux vmstat | Exposes statistics from `/proc/vmstat`. | Linux +wifi | Exposes WiFi device and station statistics. | Linux zfs | Exposes [ZFS](http://open-zfs.org/) performance statistics. | [Linux](http://zfsonlinux.org/) ### Disabled by default @@ -59,7 +60,6 @@ runit | Exposes service status from [runit](http://smarden.org/runit/). | _any_ supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_ systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. (Warning: the current version has potential performance issues in high load situations.) | Linux -wifi | Exposes WiFi device and station statistics. | Linux ### Deprecated diff --git a/node_exporter.go b/node_exporter.go index 09a80c26..b6a7f0e1 100644 --- a/node_exporter.go +++ b/node_exporter.go @@ -32,7 +32,7 @@ import ( ) const ( - defaultCollectors = "conntrack,cpu,diskstats,entropy,edac,filefd,filesystem,hwmon,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat,zfs" + defaultCollectors = "conntrack,cpu,diskstats,entropy,edac,filefd,filesystem,hwmon,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat,wifi,zfs" ) var (