aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2018-08-07 10:27:20 +0200
committerGitHub <noreply@github.com>2018-08-07 10:27:20 +0200
commit0662673ad6a626e93eb79bc784776a95164024a3 (patch)
treed110307e76d97343c96b75aaad5be03622d80348
parent5d23ad0ca7aea9efb4115af73490da6f8e9d7175 (diff)
downloadprometheus_node_collector-0662673ad6a626e93eb79bc784776a95164024a3.tar.bz2
prometheus_node_collector-0662673ad6a626e93eb79bc784776a95164024a3.tar.xz
prometheus_node_collector-0662673ad6a626e93eb79bc784776a95164024a3.zip
Disable wifi collector by default (#1037)
* Disable wifi collector by default Disable the wifi collector by default due to suspected cashing issues and goroutine leaks. * https://github.com/prometheus/node_exporter/issues/870 * https://github.com/prometheus/node_exporter/issues/1008 Signed-off-by: Ben Kochie <superq@gmail.com>
-rw-r--r--CHANGELOG.md4
-rw-r--r--collector/wifi_linux.go2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 78f4d95..4a447d6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@
4 4
5supvervisord collector reports "start_time_seconds" rather than "uptime" 5supvervisord collector reports "start_time_seconds" rather than "uptime"
6 6
7The wifi collector is disabled by default due to suspected caching issues and goroutine leaks.
8* https://github.com/prometheus/node_exporter/issues/870
9* https://github.com/prometheus/node_exporter/issues/1008
10
7* [CHANGE] Filter out non-installed units when collecting all systemd units #1011 11* [CHANGE] Filter out non-installed units when collecting all systemd units #1011
8* [FEATURE] Collect NRefused property for systemd socket units (available as of systemd v239) 12* [FEATURE] Collect NRefused property for systemd socket units (available as of systemd v239)
9* [FEATURE] Collect NRestarts property for systemd service units 13* [FEATURE] Collect NRestarts property for systemd service units
diff --git a/collector/wifi_linux.go b/collector/wifi_linux.go
index c2855a1..099d97f 100644
--- a/collector/wifi_linux.go
+++ b/collector/wifi_linux.go
@@ -45,7 +45,7 @@ var (
45) 45)
46 46
47func init() { 47func init() {
48 registerCollector("wifi", defaultEnabled, NewWifiCollector) 48 registerCollector("wifi", defaultDisabled, NewWifiCollector)
49} 49}
50 50
51var _ wifiStater = &wifi.Client{} 51var _ wifiStater = &wifi.Client{}