mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 23:19:46 -08:00
Merge pull request #193 from prometheus/superq/e2e_conflicts
Re-arrange collectors list in end-to-end test
This commit is contained in:
commit
af75a4f3c7
|
@ -2,6 +2,24 @@
|
||||||
|
|
||||||
set -euf -o pipefail
|
set -euf -o pipefail
|
||||||
|
|
||||||
|
collectors=$(cat << COLLECTORS
|
||||||
|
conntrack
|
||||||
|
diskstats
|
||||||
|
entropy
|
||||||
|
filefd
|
||||||
|
loadavg
|
||||||
|
mdadm
|
||||||
|
meminfo
|
||||||
|
netdev
|
||||||
|
netstat
|
||||||
|
sockstat
|
||||||
|
stat
|
||||||
|
textfile
|
||||||
|
bonding
|
||||||
|
megacli
|
||||||
|
COLLECTORS
|
||||||
|
)
|
||||||
|
|
||||||
cd "$(dirname $0)"
|
cd "$(dirname $0)"
|
||||||
|
|
||||||
port="$((10000 + (RANDOM % 10000)))"
|
port="$((10000 + (RANDOM % 10000)))"
|
||||||
|
@ -42,7 +60,7 @@ fi
|
||||||
./node_exporter \
|
./node_exporter \
|
||||||
-collector.procfs="collector/fixtures/proc" \
|
-collector.procfs="collector/fixtures/proc" \
|
||||||
-collector.sysfs="collector/fixtures/sys" \
|
-collector.sysfs="collector/fixtures/sys" \
|
||||||
-collectors.enabled="conntrack,diskstats,entropy,filefd,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,bonding,megacli" \
|
-collectors.enabled="$(echo ${collectors} | tr ' ' ',')" \
|
||||||
-collector.textfile.directory="collector/fixtures/textfile/two_metric_files/" \
|
-collector.textfile.directory="collector/fixtures/textfile/two_metric_files/" \
|
||||||
-collector.megacli.command="collector/fixtures/megacli" \
|
-collector.megacli.command="collector/fixtures/megacli" \
|
||||||
-web.listen-address "127.0.0.1:${port}" \
|
-web.listen-address "127.0.0.1:${port}" \
|
||||||
|
|
Loading…
Reference in a new issue