From 0662673ad6a626e93eb79bc784776a95164024a3 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Tue, 7 Aug 2018 10:27:20 +0200 Subject: [PATCH] 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 --- CHANGELOG.md | 4 ++++ collector/wifi_linux.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78f4d957..4a447d66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ supvervisord collector reports "start_time_seconds" rather than "uptime" +The wifi collector is disabled by default due to suspected caching issues and goroutine leaks. +* https://github.com/prometheus/node_exporter/issues/870 +* https://github.com/prometheus/node_exporter/issues/1008 + * [CHANGE] Filter out non-installed units when collecting all systemd units #1011 * [FEATURE] Collect NRefused property for systemd socket units (available as of systemd v239) * [FEATURE] Collect NRestarts property for systemd service units diff --git a/collector/wifi_linux.go b/collector/wifi_linux.go index c2855a15..099d97f3 100644 --- a/collector/wifi_linux.go +++ b/collector/wifi_linux.go @@ -45,7 +45,7 @@ var ( ) func init() { - registerCollector("wifi", defaultEnabled, NewWifiCollector) + registerCollector("wifi", defaultDisabled, NewWifiCollector) } var _ wifiStater = &wifi.Client{}