Skip to content

Commit

Permalink
Disable wifi collector by default (#1037)
Browse files Browse the repository at this point in the history
* Disable wifi collector by default

Disable the wifi collector by default due to suspected cashing issues and goroutine leaks.
* #870
* #1008

Signed-off-by: Ben Kochie <superq@gmail.com>
  • Loading branch information
SuperQ authored Aug 7, 2018
1 parent 5d23ad0 commit 0662673
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion collector/wifi_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var (
)

func init() {
registerCollector("wifi", defaultEnabled, NewWifiCollector)
registerCollector("wifi", defaultDisabled, NewWifiCollector)
}

var _ wifiStater = &wifi.Client{}
Expand Down

0 comments on commit 0662673

Please sign in to comment.