Skip to content
Snippets Groups Projects
Commit abe0c5b8 authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Close correct script, increase timeout to 15, call correct endpoint

parent 9e983a76
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,7 @@ function startZipkin {
cd zipkin
fi
java -Xmx6g -jar zipkin.jar &> zipkin.txt &
pid=$1
sleep 5
cd ..
}
......@@ -97,17 +98,18 @@ function periodicallyCurlPrometheus {
while [ true ]
do
echo "Curling for prometheus simulation..."
curl localhost:8888
sleep 1
curl localhost:8888/metrics
sleep 15
done
}
function startPrometheus {
periodicallyCurlPrometheus &
pid=$!
}
function stopBackgroundProcess {
kill %1
kill $pid
}
function writeConfiguration() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment