diff options
author | Matt Layher <mdlayher@gmail.com> | 2017-02-04 02:44:01 -0500 |
---|---|---|
committer | Brian Brazil <brian-brazil@users.noreply.github.com> | 2017-02-04 07:44:01 +0000 |
commit | ba635842fc271dbdf59b2791396de5b3a5d0fc23 (patch) | |
tree | 506e4b9d9c28c94fd16de9f2219fd7cb6f932237 | |
parent | 428bc92b1c9b38f6de96bceb67bc5d9b3bdcf6e7 (diff) | |
download | prometheus_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.md | 2 | ||||
-rw-r--r-- | node_exporter.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -39,6 +39,7 @@ textfile | Exposes statistics read from local disk. The `--collector.textfile.di | |||
39 | time | Exposes the current system time. | _any_ | 39 | time | Exposes the current system time. | _any_ |
40 | uname | Exposes system information as provided by the uname system call. | Linux | 40 | uname | Exposes system information as provided by the uname system call. | Linux |
41 | vmstat | Exposes statistics from `/proc/vmstat`. | Linux | 41 | vmstat | Exposes statistics from `/proc/vmstat`. | Linux |
42 | wifi | Exposes WiFi device and station statistics. | Linux | ||
42 | zfs | Exposes [ZFS](http://open-zfs.org/) performance statistics. | [Linux](http://zfsonlinux.org/) | 43 | zfs | 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_ | |||
59 | supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_ | 60 | supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_ |
60 | systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux | 61 | systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux |
61 | 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 | 62 | 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 |
62 | wifi | 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 | ||
34 | const ( | 34 | const ( |
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 | ||
38 | var ( | 38 | var ( |