Skip to content

Commit 2012869

Browse files
committed
update agent
Signed-off-by: Jay DeLuca <[email protected]>
1 parent 2f06678 commit 2012869

File tree

1 file changed

+1
-1
lines changed
  • examples/example-exporter-opentelemetry/oats-tests/agent

1 file changed

+1
-1
lines changed

examples/example-exporter-opentelemetry/oats-tests/agent/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM eclipse-temurin:25-jre@sha256:74d5c631e5db5a44e7f5a2dd49f93f0c6f7b8c22c1dc1
22

33
COPY target/example-exporter-opentelemetry.jar ./app.jar
44
# check that the resource attributes from the agent are used, epsecially the service.instance.id should be the same
5-
ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.8.0/opentelemetry-javaagent.jar /usr/src/app/opentelemetry-javaagent.jar
5+
ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.20.0/opentelemetry-javaagent.jar /usr/src/app/opentelemetry-javaagent.jar
66
ENV JAVA_TOOL_OPTIONS=-javaagent:/usr/src/app/opentelemetry-javaagent.jar
77

88
#ENTRYPOINT [ "java", "-Dotel.javaagent.debug=true","-jar", "./app.jar" ] # for debugging

0 commit comments

Comments
 (0)