diff options
author | Emanuele Rocca <ema@linux.it> | 2017-05-23 11:55:50 +0200 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2017-05-23 11:55:50 +0200 |
commit | 047003b6bb9bd5a72ec7c676f9b501411124459b (patch) | |
tree | 516a04556beb6a5626339e8f93f80ab314fb0cda /end-to-end-test.sh | |
parent | e6d031788f28d68f8c5a2bd24a29601c47645cfb (diff) | |
download | prometheus_node_collector-047003b6bb9bd5a72ec7c676f9b501411124459b.tar.bz2 prometheus_node_collector-047003b6bb9bd5a72ec7c676f9b501411124459b.tar.xz prometheus_node_collector-047003b6bb9bd5a72ec7c676f9b501411124459b.zip |
Add qdisc collector for Linux (#580)
* Add qdisc collector for Linux
This collector gathers basic queueing discipline metrics via netlink,
similarly to what `tc -s qdisc show` does.
* qdisc collector: nl-specific code moved, names fixed
- netlink-specific parts moved to github.com/ema/qdisc
- avoid using shortened names
- counters renamed into XXX_total
* Get rid of parseMessage error checking leftover
* Add github.com/ema/qdisc to vendored packages
* Update help texts and comments
* Add qdisc collector to README file
* qdisc collector end-to-end testing
* Update qdisc dependency to latest version
Update github.com/ema/qdisc dependency to revision 2c7e72d, which
includes unit testing.
* qdisc collector: rename "iface" label into "device"
Diffstat (limited to 'end-to-end-test.sh')
-rwxr-xr-x | end-to-end-test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh index c68d89c..cde2d85 100755 --- a/end-to-end-test.sh +++ b/end-to-end-test.sh | |||
@@ -22,6 +22,7 @@ collectors=$(cat << COLLECTORS | |||
22 | netdev | 22 | netdev |
23 | netstat | 23 | netstat |
24 | nfs | 24 | nfs |
25 | qdisc | ||
25 | sockstat | 26 | sockstat |
26 | stat | 27 | stat |
27 | textfile | 28 | textfile |
@@ -76,6 +77,7 @@ fi | |||
76 | -collector.textfile.directory="collector/fixtures/textfile/two_metric_files/" \ | 77 | -collector.textfile.directory="collector/fixtures/textfile/two_metric_files/" \ |
77 | -collector.megacli.command="collector/fixtures/megacli" \ | 78 | -collector.megacli.command="collector/fixtures/megacli" \ |
78 | -collector.wifi="collector/fixtures/wifi" \ | 79 | -collector.wifi="collector/fixtures/wifi" \ |
80 | -collector.qdisc="collector/fixtures/qdisc/" \ | ||
79 | -web.listen-address "127.0.0.1:${port}" \ | 81 | -web.listen-address "127.0.0.1:${port}" \ |
80 | -log.level="debug" > "${tmpdir}/node_exporter.log" 2>&1 & | 82 | -log.level="debug" > "${tmpdir}/node_exporter.log" 2>&1 & |
81 | 83 | ||