From 8d4596a167e8f73df344c0add0d4fee0100a32b3 Mon Sep 17 00:00:00 2001
From: David Georg Reichelt <davidgeorg_reichelt@dagere.de>
Date: Fri, 27 Aug 2021 17:13:07 +0200
Subject: [PATCH] Also wait in OpenTelemetry, add null writer label

---
 frameworks/OpenTelemetry/benchmark.sh | 3 +++
 frameworks/inspectIT/benchmark.sh     | 4 ++--
 frameworks/inspectIT/labels.sh        | 5 +++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/frameworks/OpenTelemetry/benchmark.sh b/frameworks/OpenTelemetry/benchmark.sh
index 716003b..0d7173b 100755
--- a/frameworks/OpenTelemetry/benchmark.sh
+++ b/frameworks/OpenTelemetry/benchmark.sh
@@ -80,6 +80,7 @@ function runOpenTelemetryZipkin {
         --recursion-depth $RECURSION_DEPTH \
         ${MOREPARAMS} &> ${RESULTS_DIR}/output_"$i"_"$RECURSION_DEPTH"_$k.txt
     stopBackgroundProcess
+    sleep $SLEEP_TIME
 }
 
 function runOpenTelemetryJaeger {
@@ -96,6 +97,7 @@ function runOpenTelemetryJaeger {
 		--recursion-depth $RECURSION_DEPTH \
 		${MOREPARAMS} &> ${RESULTS_DIR}/output_"$i"_"$RECURSION_DEPTH"_$k.txt
 	stopBackgroundProcess
+	sleep $SLEEP_TIME
 }
 
 function runOpenTelemetryPrometheus {
@@ -112,6 +114,7 @@ function runOpenTelemetryPrometheus {
 		--recursion-depth $RECURSION_DEPTH \
 		${MOREPARAMS} &> ${RESULTS_DIR}/output_"$i"_"$RECURSION_DEPTH"_$k.txt
 	stopBackgroundProcess
+	sleep $SLEEP_TIME
 }
 
 JAVABIN=""
diff --git a/frameworks/inspectIT/benchmark.sh b/frameworks/inspectIT/benchmark.sh
index 29e9fc8..78498bd 100755
--- a/frameworks/inspectIT/benchmark.sh
+++ b/frameworks/inspectIT/benchmark.sh
@@ -61,8 +61,8 @@ function runInspectITZipkin {
         --recursion-depth ${RECURSION_DEPTH} \
         --force-terminate \
         ${MOREPARAMS} &> ${RESULTS_DIR}/output_"$i"_"$RECURSION_DEPTH"_$k.txt
-    sleep $SLEEP_TIME
     stopBackgroundProcess
+    sleep $SLEEP_TIME
 }
 
 function runInspectITPrometheus {
@@ -80,8 +80,8 @@ function runInspectITPrometheus {
         --recursion-depth ${RECURSION_DEPTH} \
         --force-terminate \
         ${MOREPARAMS} &> ${RESULTS_DIR}/output_"$i"_"$RECURSION_DEPTH"_$k.txt
-    sleep $SLEEP_TIME
     stopBackgroundProcess
+    sleep $SLEEP_TIME
 }
 
 function cleanup {
diff --git a/frameworks/inspectIT/labels.sh b/frameworks/inspectIT/labels.sh
index 49508d6..bf62e40 100644
--- a/frameworks/inspectIT/labels.sh
+++ b/frameworks/inspectIT/labels.sh
@@ -1,4 +1,5 @@
 TITLE[0]="No instrumentation"
 TITLE[1]="Deactivated processing"
-TITLE[2]="Zipkin"
-TITLE[3]="Prometheus"
+TITLE[2]="Null writer"
+TITLE[3]="Zipkin"
+TITLE[4]="Prometheus"
-- 
GitLab