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>
This commit is contained in:
Ben Kochie 2018-08-07 10:27:20 +02:00 committed by GitHub
commit 0662673ad6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -45,7 +45,7 @@ var (
)
func init() {
registerCollector("wifi", defaultEnabled, NewWifiCollector)
registerCollector("wifi", defaultDisabled, NewWifiCollector)
}
var _ wifiStater = &wifi.Client{}