Skip to content

Commit 6e2d580

Browse files
authored
Update Java OTEL library version in examples and docs (#3174)
* Use the latest version of the java otel extension in Docker instrumentation example * Bump java otel library version in span profiles doc * Make doc valid
1 parent f63de9b commit 6e2d580

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/sources/configure-client/trace-span-profiles/java-span-profiles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ java -jar ./build/libs/rideshare-1.0-SNAPSHOT.jar \
4848

4949
Next, you need to create and configure the tracer provider:
5050
```java
51-
implementation("io.pyroscope:otel:0.10.1.1")
51+
implementation("io.pyroscope:otel:0.10.1.11")
5252

5353
// obtain SdkTracerProviderBuilder
5454
SdkTracerProviderBuilder tpBuilder = ...
@@ -96,4 +96,4 @@ The profile type or app must be selected for the query to be valid. Grafana does
9696

9797
## Examples
9898

99-
Check out the [examples](https://github.com/grafana/pyroscope/tree/main/examples/tracing/tempo) directory for a complete demo application that shows tracing integration features.
99+
Check out the [examples](https://github.com/grafana/pyroscope/tree/main/examples/tracing/tempo) directory for a complete demo application that shows tracing integration features.

examples/language-sdk-instrumentation/java/rideshare/Dockerfile.otel-instrumentation

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ WORKDIR /opt/app
4343

4444
ADD https://github.com/grafana/pyroscope-java/releases/download/v0.12.2/pyroscope.jar /opt/app/pyroscope.jar
4545
ADD https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v1.17.0/opentelemetry-javaagent.jar opentelemetry-javaagent.jar
46-
ADD https://repo1.maven.org/maven2/io/pyroscope/otel/0.10.1.3/otel-0.10.1.3.jar pyroscope-otel.jar
46+
ADD https://repo1.maven.org/maven2/io/pyroscope/otel/0.10.1.11/otel-0.10.1.11.jar pyroscope-otel.jar
4747

4848
EXPOSE 5000
4949

0 commit comments

Comments
 (0)