Skip to content

Commit

Permalink
fix spring starter dependencies (#4849)
Browse files Browse the repository at this point in the history
Co-authored-by: opentelemetrybot <[email protected]>
  • Loading branch information
zeitlinger and opentelemetrybot authored Jul 18, 2024
1 parent 18e6ecd commit ce38468
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/zero-code/java/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ aliases:
- /docs/languages/java/automatic_instrumentation
cascade:
vers:
instrumentation: 2.5.0
otel: 1.39.0
instrumentation: 2.6.0
otel: 1.40.0
---

Zero-code instrumentation with Java uses a Java agent JAR or Spring Boot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ A Bill of Material
([BOM](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms))
ensures that versions of dependencies (including transitive ones) are aligned.

Importing the `opentelemetry-bom` and `opentelemetry-instrumentation-bom-alpha`
BOMs when using the OpenTelemetry starter is important to ensure version
alignment across all OpenTelemetry dependencies.
Importing the `opentelemetry-bom` and `opentelemetry-instrumentation-bom` BOMs
when using the OpenTelemetry starter is important to ensure version alignment
across all OpenTelemetry dependencies.

{{% alert title="Note" color="info" %}}

Expand Down Expand Up @@ -91,7 +91,7 @@ plugins {
dependencyManagement {
imports {
mavenBom("io.opentelemetry:opentelemetry-bom:{{% param vers.otel %}}")
mavenBom("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:{{% param vers.instrumentation %}}")
mavenBom("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:{{% param vers.instrumentation %}}")
}
}
```
Expand Down

0 comments on commit ce38468

Please sign in to comment.