Node_Exporter/collector/fixtures/proc/net
Sam Kottler 6eafa51fa8 Add ARP collector for Linux (#540)
* Implement commonalities and linux support for ARP collection

* Add ARP collector to fixtures and run as part of e2e tests

* Bubble up scanner errors

* Use single return values where it makes sense

* Add missing annotation

* Move arp_common into arp_linux

* Add license header to arp_linux.go

* Address initial feedback

* Use strings.Fields instead of strings.Split

* Deal with scanner.Err() rather than throwing away errors

* Check for scan errors in-line before interacting with the entries map

* Don't interact with potentially empty text from scan

* Check for scan errors outside the scan loop

* Add comment about moving procfs parsing

* Add more direct comment

* Update initialism style to match go style guide

* Put function args on the same line

* Add TODO in front of comment about procfs extraction

* Guard against strings.Fields returning an empty slice

* Be more defensive about ARP table format and use upcase more broadly

* Enable the ARP collector by default

* Add ARP collector to the README

* Remove 'entry'
2017-04-11 17:45:19 +02:00
..
rpc Add a collector for NFS client statistics. 2016-12-09 19:58:08 +01:00
arp Add ARP collector for Linux (#540) 2017-04-11 17:45:19 +02:00
dev Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
ip_vs Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
ip_vs_stats Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
netstat Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
snmp Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
sockstat Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
sockstat_rhe4 sockstat: add support for RHE4 2016-07-05 23:24:54 +02:00
tcpstat Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00