aboutsummaryrefslogtreecommitdiff
path: root/end-to-end-test.sh
diff options
context:
space:
mode:
authorJan Klat <jenik@klatys.cz>2018-07-16 15:08:18 +0200
committerJohannes 'fish' Ziemke <github@freigeist.org>2018-07-16 15:08:18 +0200
commitc4102f117584f92e18e9612d9a9eecd0815e89bd (patch)
tree06e8fbb27352e471bfece0c5a7e9543745f2c3cb /end-to-end-test.sh
parent09b4305090a6af1e69c528539fba63fc5ff781c6 (diff)
downloadprometheus_node_collector-c4102f117584f92e18e9612d9a9eecd0815e89bd.tar.bz2
prometheus_node_collector-c4102f117584f92e18e9612d9a9eecd0815e89bd.tar.xz
prometheus_node_collector-c4102f117584f92e18e9612d9a9eecd0815e89bd.zip
Add sys/class/net parsing from procfs and expose its metrics (#851)
* add sys/class/net parsing from procfs and expose its metrics Signed-off-by: Jan Klat <jenik@klatys.cz> * change code to use int pointers per procfs change, move netclass to separate collector, change metric naming Signed-off-by: Jan Klat <jenik@klatys.cz> * bump year in licence, remove redundant newline, correct fixtures Signed-off-by: Jan Klat <jenik@klatys.cz> * fix style Signed-off-by: Jan Klat <jenik@klatys.cz> * change carrier changes to counter type Signed-off-by: Jan Klat <jenik@klatys.cz> * fix e2e output Signed-off-by: Jan Klat <jenik@klatys.cz> * add fixtures Signed-off-by: Jan Klat <jenik@klatys.cz> * update vendor, use fixtures correctly Signed-off-by: Jan Klat <jenik@klatys.cz> * change fixtures (device in /sys/class/net should be symlinked) Signed-off-by: Jan Klat <jenik@klatys.cz> * correct fixtures for 64k page, updated readme Signed-off-by: Jan Klat <jenik@klatys.cz>
Diffstat (limited to 'end-to-end-test.sh')
-rwxr-xr-xend-to-end-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh
index 469d244..43f8fbf 100755
--- a/end-to-end-test.sh
+++ b/end-to-end-test.sh
@@ -98,6 +98,7 @@ fi
98 --collector.textfile.directory="collector/fixtures/textfile/two_metric_files/" \ 98 --collector.textfile.directory="collector/fixtures/textfile/two_metric_files/" \
99 --collector.wifi.fixtures="collector/fixtures/wifi" \ 99 --collector.wifi.fixtures="collector/fixtures/wifi" \
100 --collector.qdisc.fixtures="collector/fixtures/qdisc/" \ 100 --collector.qdisc.fixtures="collector/fixtures/qdisc/" \
101 --collector.netclass.ignored-devices="(bond0|dmz|int)" \
101 --web.listen-address "127.0.0.1:${port}" \ 102 --web.listen-address "127.0.0.1:${port}" \
102 --log.level="debug" > "${tmpdir}/node_exporter.log" 2>&1 & 103 --log.level="debug" > "${tmpdir}/node_exporter.log" 2>&1 &
103 104