aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSam Kottler <skottler@users.noreply.github.com>2017-04-11 08:45:19 -0700
committerTobias Schmidt <ts@soundcloud.com>2017-04-11 17:45:19 +0200
commit6eafa51fa81b24b50dd819a47540db2db8948a39 (patch)
treebd18c7328c454a6cc59f92a3f605a38a3be2f3ef /README.md
parent84b65edb048d3f1e64b2d54a784154fb906e6cce (diff)
downloadprometheus_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.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index d139cef..645925f 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ Which collectors are used is controlled by the `--collectors.enabled` flag.
21 21
22Name | Description | OS 22Name | Description | OS
23---------|-------------|---- 23---------|-------------|----
24arp | Exposes ARP statistics from `/proc/net/arp`. | Linux
24conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux 25conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux
25cpu | Exposes CPU statistics | Darwin, Dragonfly, FreeBSD 26cpu | Exposes CPU statistics | Darwin, Dragonfly, FreeBSD
26diskstats | Exposes disk I/O statistics from `/proc/diskstats`. | Linux 27diskstats | Exposes disk I/O statistics from `/proc/diskstats`. | Linux