aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Layher <mdlayher@gmail.com>2017-02-04 02:44:01 -0500
committerBrian Brazil <brian-brazil@users.noreply.github.com>2017-02-04 07:44:01 +0000
commitba635842fc271dbdf59b2791396de5b3a5d0fc23 (patch)
tree506e4b9d9c28c94fd16de9f2219fd7cb6f932237
parent428bc92b1c9b38f6de96bceb67bc5d9b3bdcf6e7 (diff)
downloadprometheus_node_collector-ba635842fc271dbdf59b2791396de5b3a5d0fc23.tar.bz2
prometheus_node_collector-ba635842fc271dbdf59b2791396de5b3a5d0fc23.tar.xz
prometheus_node_collector-ba635842fc271dbdf59b2791396de5b3a5d0fc23.zip
Add wifi collector to default collectors (#447)
-rw-r--r--README.md2
-rw-r--r--node_exporter.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6d0df8e..33ab0a6 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@ textfile | Exposes statistics read from local disk. The `--collector.textfile.di
39time | Exposes the current system time. | _any_ 39time | Exposes the current system time. | _any_
40uname | Exposes system information as provided by the uname system call. | Linux 40uname | Exposes system information as provided by the uname system call. | Linux
41vmstat | Exposes statistics from `/proc/vmstat`. | Linux 41vmstat | Exposes statistics from `/proc/vmstat`. | Linux
42wifi | Exposes WiFi device and station statistics. | Linux
42zfs | Exposes [ZFS](http://open-zfs.org/) performance statistics. | [Linux](http://zfsonlinux.org/) 43zfs | Exposes [ZFS](http://open-zfs.org/) performance statistics. | [Linux](http://zfsonlinux.org/)
43 44
44### Disabled by default 45### Disabled by default
@@ -59,7 +60,6 @@ runit | Exposes service status from [runit](http://smarden.org/runit/). | _any_
59supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_ 60supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_
60systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux 61systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux
61tcpstat | 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 62tcpstat | 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
62wifi | Exposes WiFi device and station statistics. | Linux
63 63
64### Deprecated 64### Deprecated
65 65
diff --git a/node_exporter.go b/node_exporter.go
index 09a80c2..b6a7f0e 100644
--- a/node_exporter.go
+++ b/node_exporter.go
@@ -32,7 +32,7 @@ import (
32) 32)
33 33
34const ( 34const (
35 defaultCollectors = "conntrack,cpu,diskstats,entropy,edac,filefd,filesystem,hwmon,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat,zfs" 35 defaultCollectors = "conntrack,cpu,diskstats,entropy,edac,filefd,filesystem,hwmon,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat,wifi,zfs"
36) 36)
37 37
38var ( 38var (