From 43d6b7caf643450a21df2259eb03abcea8249cb3 Mon Sep 17 00:00:00 2001
From: jack-berg <34418638+jack-berg@users.noreply.github.com>
Date: Mon, 22 Aug 2022 11:22:45 -0500
Subject: [PATCH] Update docs to 1.17.0, point to new annotation coordinates
(#1642)
---
content/en/docs/instrumentation/java/_index.md | 4 ++--
.../java/automatic/annotations.md | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/content/en/docs/instrumentation/java/_index.md b/content/en/docs/instrumentation/java/_index.md
index 73e97eed112d..6f3b6bb48cfa 100644
--- a/content/en/docs/instrumentation/java/_index.md
+++ b/content/en/docs/instrumentation/java/_index.md
@@ -46,7 +46,7 @@ using our BOM to keep the versions of the various components in sync.
io.opentelemetry
opentelemetry-bom
- 1.16.0
+ 1.17.0
pom
import
@@ -65,7 +65,7 @@ using our BOM to keep the versions of the various components in sync.
```kotlin
dependencies {
- implementation(platform("io.opentelemetry:opentelemetry-bom:1.16.0"))
+ implementation(platform("io.opentelemetry:opentelemetry-bom:1.17.0"))
implementation("io.opentelemetry:opentelemetry-api")
}
```
diff --git a/content/en/docs/instrumentation/java/automatic/annotations.md b/content/en/docs/instrumentation/java/automatic/annotations.md
index ef1a33620c32..980e52993b05 100644
--- a/content/en/docs/instrumentation/java/automatic/annotations.md
+++ b/content/en/docs/instrumentation/java/automatic/annotations.md
@@ -12,7 +12,7 @@ custom code without doing too much code change.
## Dependencies
-You'll need to add a dependency on the `opentelemetry-extension-annotations`
+You'll need to add a dependency on the `opentelemetry-instrumentation-annotations`
library to use the `@WithSpan` annotation.
### Maven
@@ -20,9 +20,9 @@ library to use the `@WithSpan` annotation.
```xml
- io.opentelemetry
- opentelemetry-extension-annotations
- 1.16.0
+ io.opentelemetry.instrumentation
+ opentelemetry-instrumentation-annotations
+ 1.17.0
```
@@ -31,7 +31,7 @@ library to use the `@WithSpan` annotation.
```groovy
dependencies {
- implementation('io.opentelemetry:opentelemetry-extension-annotations:1.16.0')
+ implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:1.17.0')
}
```
@@ -41,7 +41,7 @@ To create a [span](/docs/concepts/signals/traces/#spans-in-opentelemetry)
corresponding to one of your method, annotate the method with `@WithSpan`.
```java
-import io.opentelemetry.extension.annotations.WithSpan;
+import io.opentelemetry.instrumentation.annotations.WithSpan;
public class MyClass {
@WithSpan
@@ -82,8 +82,8 @@ be automatically added as
annotating the method parameters with the `@SpanAttribute` annotation.
```java
-import io.opentelemetry.extension.annotations.SpanAttribute;
-import io.opentelemetry.extension.annotations.WithSpan;
+import io.opentelemetry.instrumentation.annotations.SpanAttribute;
+import io.opentelemetry.instrumentation.annotations.WithSpan;
public class MyClass {