aboutsummaryrefslogtreecommitdiff
path: root/end-to-end-test.sh
diff options
context:
space:
mode:
authordomchan <31119455+domgoer@users.noreply.github.com>2020-07-18 00:32:23 +0800
committerGitHub <noreply@github.com>2020-07-17 18:32:23 +0200
commit503e4fc8486c0082d6bd8c53fad646bcfafeedf6 (patch)
tree51cf53ed86b640630b69d9c45719592b71686bd8 /end-to-end-test.sh
parentf4b89c79a25fa10a397075b8bc3dd09314438fa2 (diff)
downloadprometheus_node_collector-503e4fc8486c0082d6bd8c53fad646bcfafeedf6.tar.bz2
prometheus_node_collector-503e4fc8486c0082d6bd8c53fad646bcfafeedf6.tar.xz
prometheus_node_collector-503e4fc8486c0082d6bd8c53fad646bcfafeedf6.zip
Expose cpu bugs and flags as info metrics. (#1788)
* Expose cpu bugs and flags as info metrics with a regexp filter. * Automatically enable CPU info metrics when using flags or bugs feature. Signed-off-by: domgoer <domdoumc@gmail.com>
Diffstat (limited to 'end-to-end-test.sh')
-rwxr-xr-xend-to-end-test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh
index 961dd27..955ab1d 100755
--- a/end-to-end-test.sh
+++ b/end-to-end-test.sh
@@ -107,6 +107,8 @@ fi
107 --collector.qdisc.fixtures="collector/fixtures/qdisc/" \ 107 --collector.qdisc.fixtures="collector/fixtures/qdisc/" \
108 --collector.netclass.ignored-devices="(bond0|dmz|int)" \ 108 --collector.netclass.ignored-devices="(bond0|dmz|int)" \
109 --collector.cpu.info \ 109 --collector.cpu.info \
110 --collector.cpu.info.flags-include="^(aes|avx.?|constant_tsc)$" \
111 --collector.cpu.info.bugs-include="^(cpu_meltdown|spectre_.*|mds)$" \
110 --web.listen-address "127.0.0.1:${port}" \ 112 --web.listen-address "127.0.0.1:${port}" \
111 --log.level="debug" > "${tmpdir}/node_exporter.log" 2>&1 & 113 --log.level="debug" > "${tmpdir}/node_exporter.log" 2>&1 &
112 114