From 9d3e08d7cc4026295d95650969feb44818ffc701 Mon Sep 17 00:00:00 2001 From: "pyroscope-development-app[bot]" <191832211+pyroscope-development-app[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:18:00 +0000 Subject: [PATCH] chore(examples): update examples (#3828) Co-authored-by: Pyroscope Bot --- docs/sources/configure-client/language-sdks/java.md | 4 ++-- examples/language-sdk-instrumentation/java/fib/Dockerfile | 2 +- .../language-sdk-instrumentation/java/rideshare/Dockerfile | 2 +- .../java/rideshare/build.gradle.kts | 2 +- examples/language-sdk-instrumentation/java/simple/Dockerfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/sources/configure-client/language-sdks/java.md b/docs/sources/configure-client/language-sdks/java.md index cfa737075e..aca44fd637 100644 --- a/docs/sources/configure-client/language-sdks/java.md +++ b/docs/sources/configure-client/language-sdks/java.md @@ -51,12 +51,12 @@ First, add the Pyroscope dependency: io.pyroscope agent - 0.16.0 + 0.17.0 ``` ```gradle -implementation("io.pyroscope:agent:0.16.0") +implementation("io.pyroscope:agent:0.17.0") ``` {{< /code >}} diff --git a/examples/language-sdk-instrumentation/java/fib/Dockerfile b/examples/language-sdk-instrumentation/java/fib/Dockerfile index 9fbe636e93..3f7eaa8d49 100644 --- a/examples/language-sdk-instrumentation/java/fib/Dockerfile +++ b/examples/language-sdk-instrumentation/java/fib/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /opt/app RUN apt-get update && apt-get install ca-certificates -y && update-ca-certificates && apt-get install -y git -ADD https://github.com/grafana/pyroscope-java/releases/download/v0.16.0/pyroscope.jar /opt/app/pyroscope.jar +ADD https://github.com/grafana/pyroscope-java/releases/download/v0.17.0/pyroscope.jar /opt/app/pyroscope.jar COPY Main.java ./ diff --git a/examples/language-sdk-instrumentation/java/rideshare/Dockerfile b/examples/language-sdk-instrumentation/java/rideshare/Dockerfile index 39ff829ae5..88fafb0c4a 100644 --- a/examples/language-sdk-instrumentation/java/rideshare/Dockerfile +++ b/examples/language-sdk-instrumentation/java/rideshare/Dockerfile @@ -37,6 +37,6 @@ COPY --from=builder /opt/app/build/libs/rideshare-1.0-SNAPSHOT.jar /opt/app/buil WORKDIR /opt/app -ADD https://github.com/grafana/pyroscope-java/releases/download/v0.16.0/pyroscope.jar /opt/app/pyroscope.jar +ADD https://github.com/grafana/pyroscope-java/releases/download/v0.17.0/pyroscope.jar /opt/app/pyroscope.jar CMD sh -c "exec java -Dserver.port=${RIDESHARE_LISTEN_PORT} -javaagent:pyroscope.jar -jar ./build/libs/rideshare-1.0-SNAPSHOT.jar" diff --git a/examples/language-sdk-instrumentation/java/rideshare/build.gradle.kts b/examples/language-sdk-instrumentation/java/rideshare/build.gradle.kts index 40f4d1d681..8fcdd34511 100644 --- a/examples/language-sdk-instrumentation/java/rideshare/build.gradle.kts +++ b/examples/language-sdk-instrumentation/java/rideshare/build.gradle.kts @@ -12,7 +12,7 @@ repositories { } dependencies { - implementation("io.pyroscope:agent:0.16.0") + implementation("io.pyroscope:agent:0.17.0") implementation("org.springframework.boot:spring-boot-starter-web") testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2") diff --git a/examples/language-sdk-instrumentation/java/simple/Dockerfile b/examples/language-sdk-instrumentation/java/simple/Dockerfile index 66abb42b76..e0e851728b 100644 --- a/examples/language-sdk-instrumentation/java/simple/Dockerfile +++ b/examples/language-sdk-instrumentation/java/simple/Dockerfile @@ -2,7 +2,7 @@ FROM openjdk:11.0.11-jdk WORKDIR /opt/app -ADD https://github.com/grafana/pyroscope-java/releases/download/v0.16.0/pyroscope.jar /opt/app/pyroscope.jar +ADD https://github.com/grafana/pyroscope-java/releases/download/v0.17.0/pyroscope.jar /opt/app/pyroscope.jar COPY Main.java ./Main.java RUN javac Main.java