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
parent 5d23ad0ca7
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

@ -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

View File

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