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

Download newest opentelemetry java agent

parent 60cd9549
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,13 @@ JAVAARGS="${JAVAARGS} -verbose:gc -XX:+PrintCompilation"
#JAVAARGS="${JAVAARGS} -Djava.compiler=NONE"
JAR="-jar MooBench.jar"
if [ ! -f ${BASEDIR}lib/opentelemetry-javaagent-all.jar ]
then
mkdir -p ${BASEDIR}lib
wget -o ${BASEDIR}lib/opentelemetry-javaagent-all.jar \
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent-all.jar
fi
JAVAARGS_NOINSTR="${JAVAARGS}"
JAVAARGS_LTW="${JAVAARGS} -javaagent:${BASEDIR}lib/opentelemetry-javaagent-all.jar"
JAVAARGS_LTW_ASM="${JAVAARGS_LTW} -Dspass-meter.iFactory=de.uni_hildesheim.sse.monitoring.runtime.instrumentation.asmTree.Factory"
......
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