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
|
||||
|
||||
collectors=$(cat << COLLECTORS
|
||||
conntrack
|
||||
diskstats
|
||||
entropy
|
||||
filefd
|
||||
loadavg
|
||||
mdadm
|
||||
meminfo
|
||||
netdev
|
||||
netstat
|
||||
sockstat
|
||||
stat
|
||||
textfile
|
||||
bonding
|
||||
megacli
|
||||
COLLECTORS
|
||||
)
|
||||
|
||||
cd "$(dirname $0)"
|
||||
|
||||
port="$((10000 + (RANDOM % 10000)))"
|
||||
|
@ -42,7 +60,7 @@ fi
|
|||
./node_exporter \
|
||||
-collector.procfs="collector/fixtures/proc" \
|
||||
-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.megacli.command="collector/fixtures/megacli" \
|
||||
-web.listen-address "127.0.0.1:${port}" \
|
||||
|
|
Loading…
Reference in New Issue