aboutsummaryrefslogtreecommitdiff
path: root/end-to-end-test.sh
diff options
context:
space:
mode:
authorBrian Brazil <brian.brazil@robustperception.io>2018-03-29 16:34:52 +0100
committerBrian Brazil <brian.brazil@robustperception.io>2018-03-29 22:00:02 +0100
commit499c342fed469de88a6c102d50bfc61853520d2d (patch)
treee9e4f53687c06604f9b5cfa74bfa0569772f5441 /end-to-end-test.sh
parentc8c144587e6afa4821a5f3a685f4a7953e91918c (diff)
downloadprometheus_node_collector-499c342fed469de88a6c102d50bfc61853520d2d.tar.bz2
prometheus_node_collector-499c342fed469de88a6c102d50bfc61853520d2d.tar.xz
prometheus_node_collector-499c342fed469de88a6c102d50bfc61853520d2d.zip
Greatly reduce the metrics vmstat returns by default.
Vmstat has over 100 fields, most of which are highly detailed debug information. Trim this down to only essential fields by default, configurable by flag. Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Diffstat (limited to 'end-to-end-test.sh')
-rwxr-xr-xend-to-end-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh
index e47cdaa..152aa98 100755
--- a/end-to-end-test.sh
+++ b/end-to-end-test.sh
@@ -32,6 +32,7 @@ enabled_collectors=$(cat << COLLECTORS
32 stat 32 stat
33 textfile 33 textfile
34 bonding 34 bonding
35 vmstat
35 wifi 36 wifi
36 xfs 37 xfs
37 zfs 38 zfs
@@ -42,7 +43,6 @@ disabled_collectors=$(cat << COLLECTORS
42 time 43 time
43 timex 44 timex
44 uname 45 uname
45 vmstat
46COLLECTORS 46COLLECTORS
47) 47)
48cd "$(dirname $0)" 48cd "$(dirname $0)"
@@ -148,4 +148,4 @@ get "127.0.0.1:${port}/metrics" | grep -E -v "${skip_re}" > "${tmpdir}/e2e-outpu
148 148
149diff -u \ 149diff -u \
150 "${fixture}" \ 150 "${fixture}" \
151 "${tmpdir}/e2e-output.txt" \ No newline at end of file 151 "${tmpdir}/e2e-output.txt"