Julian Kornberger
043fecbfd8
Wrap errors in the Go 1.13 way
...
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
5 years ago
Nemikolh
62f99f95f0
Add receive/transmit bytes total metric (wifi collector). ( #1150 )
...
Signed-off-by: Nemikolh <Nemikolh@users.noreply.github.com>
6 years ago
Ben Kochie
0662673ad6
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>
6 years ago
neiledgar
7e4d9bd150
Update wifi stats to support multiple stations ( #977 ) ( #980 )
...
Signed-off-by: neiledgar <neil.edgar@btinternet.com>
6 years ago
Calle Pettersson
859a825bb8
Replace --collectors.enabled with per-collector flags ( #640 )
...
* Move NodeCollector into package collector
* Refactor collector enabling
* Update README with new collector enabled flags
* Fix out-of-date inline flag reference syntax
* Use new flags in end-to-end tests
* Add flag to disable all default collectors
* Track if a flag has been set explicitly
* Add --collectors.disable-defaults to README
* Revert disable-defaults flag
* Shorten flags
* Fixup timex collector registration
* Fix end-to-end tests
* Change procfs and sysfs path flags
* Fix review comments
7 years ago
Ben Kochie
8839640cd1
Ignore wifi collector permission errors ( #646 )
...
Ignore the permission denined error when the wifi collector has no
permission to read metrics.
7 years ago
Calle Pettersson
dfe07eaae8
Switch to kingpin flags ( #639 )
...
* Switch to kingpin flags
* Fix logrus vendoring
* Fix flags in main tests
* Fix vendoring versions
7 years ago
Matt Layher
2bfe410fb7
Expand wifi collector for more interface types
8 years ago
Matt Layher
42c8a20545
Unexport wifiCollector metrics
8 years ago
Matt Layher
69368b7f9c
Add synthetic node_wifi_station_info metric for BSS information
8 years ago
Tobias Schmidt
c703435790
Fix all open go lint and vet issues
8 years ago
Matt Layher
ca3f07feef
Update vendored wifi, handle stations with missing info
8 years ago
Matt Layher
d3089f2ce8
Make wifi collector fail gracefully if metrics not available
8 years ago
Matt Layher
efa25665ec
Add initial wifi collector, bump netlink to fix 32-bit builds
8 years ago