Skip to content

Commit

Permalink
Merge pull request #35 from yeroc/fix-otel-java-agent-url
Browse files Browse the repository at this point in the history
Fix Open Telemetry Java Agent URL
  • Loading branch information
zeitlinger authored Apr 10, 2024
2 parents 757e962 + 33d7f3a commit df314be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/java/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi
version=v2.1.0
jar=opentelemetry-javaagent-${version}.jar
if [[ ! -f ./${jar} ]] ; then
curl -sL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.0.0/opentelemetry-javaagent.jar -o ${jar}
curl -sL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/${version}/opentelemetry-javaagent.jar -o ${jar}
fi
export OTEL_RESOURCE_ATTRIBUTES="service.name=rolldice,service.instance.id=localhost:8080"
# uncomment the next line to switch to Prometheus native histograms.
Expand Down

0 comments on commit df314be

Please sign in to comment.