diff --git a/.github/workflows/auto-update-versions.yml b/.github/workflows/auto-update-versions.yml index a36f5602a1ba..1cba015eae3b 100644 --- a/.github/workflows/auto-update-versions.yml +++ b/.github/workflows/auto-update-versions.yml @@ -24,6 +24,7 @@ jobs: .github/workflows/scripts/auto-update-version.sh "opentelemetry-collector-releases" "collectorVersion" "content/en/docs/collector/_index.md" git reset --hard origin/main .github/workflows/scripts/auto-update-version.sh "opentelemetry-java" "javaVersion" "content/en/docs/instrumentation/java/_index.md" + .github/workflows/scripts/auto-update-version.sh "opentelemetry-java-instrumentation" "javaInstrumentationVersion" "content/en/docs/instrumentation/java/automatic/annotations.md" env: # change this to secrets.GITHUB_TOKEN when testing against a fork GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} diff --git a/content/en/docs/instrumentation/java/automatic/annotations.md b/content/en/docs/instrumentation/java/automatic/annotations.md index 05bff995a050..bd1206c5ccc3 100644 --- a/content/en/docs/instrumentation/java/automatic/annotations.md +++ b/content/en/docs/instrumentation/java/automatic/annotations.md @@ -3,7 +3,7 @@ title: Annotations description: Using instrumentation annotations with a Java agent. aliases: [/docs/instrumentation/java/annotations] weight: 4 -javaAnnotationsVersion: 1.24.0 +javaInstrumentationVersion: 1.24.0 --- For most users, the out-of-the-box instrumentation is completely sufficient and @@ -24,7 +24,7 @@ annotation. io.opentelemetry.instrumentation opentelemetry-instrumentation-annotations - {{% param javaAnnotationsVersion %}} + {{% param javaInstrumentationVersion %}} ``` @@ -33,7 +33,7 @@ annotation. ```groovy dependencies { - implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:{{% param javaAnnotationsVersion %}}') + implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:{{% param javaInstrumentationVersion %}}') } ```