diff options
author | Sam Kottler <skottler@users.noreply.github.com> | 2017-04-11 08:45:19 -0700 |
---|---|---|
committer | Tobias Schmidt <ts@soundcloud.com> | 2017-04-11 17:45:19 +0200 |
commit | 6eafa51fa81b24b50dd819a47540db2db8948a39 (patch) | |
tree | bd18c7328c454a6cc59f92a3f605a38a3be2f3ef /README.md | |
parent | 84b65edb048d3f1e64b2d54a784154fb906e6cce (diff) | |
download | prometheus_node_collector-6eafa51fa81b24b50dd819a47540db2db8948a39.tar.bz2 prometheus_node_collector-6eafa51fa81b24b50dd819a47540db2db8948a39.tar.xz prometheus_node_collector-6eafa51fa81b24b50dd819a47540db2db8948a39.zip |
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'
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ Which collectors are used is controlled by the `--collectors.enabled` flag. | |||
21 | 21 | ||
22 | Name | Description | OS | 22 | Name | Description | OS |
23 | ---------|-------------|---- | 23 | ---------|-------------|---- |
24 | arp | Exposes ARP statistics from `/proc/net/arp`. | Linux | ||
24 | conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux | 25 | conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux |
25 | cpu | Exposes CPU statistics | Darwin, Dragonfly, FreeBSD | 26 | cpu | Exposes CPU statistics | Darwin, Dragonfly, FreeBSD |
26 | diskstats | Exposes disk I/O statistics from `/proc/diskstats`. | Linux | 27 | diskstats | Exposes disk I/O statistics from `/proc/diskstats`. | Linux |