Skip to content

Commit 0dbf4d1

Browse files
committed
Add instructions for downloading shaded variants
1 parent 98ad5b0 commit 0dbf4d1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

gcp-auth-extension/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ For more information on Extensions, see the [documentation here](https://github.
5050

5151
> [!IMPORTANT]
5252
> Make sure to download the 'shaded' variant of the Authentication Extension for use with OpenTelemetry Java auto-instrumentation agent. The shaded version is available under the classifier name `shadow`.
53+
>
54+
> See instructions for [Downloading Shaded JAR](#downloading-shaded-jar) below.
5355
5456
Below is a snippet showing how to add the extension to a Java application using the Gradle build system.
5557

@@ -83,6 +85,21 @@ application {
8385
}
8486
```
8587

88+
#### Downloading Shaded JAR
89+
90+
You can download the shaded JAR for Google Cloud Authentication Extension from the following link -
91+
92+
```text
93+
https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-gcp-auth-extension/<VERSION>/opentelemetry-gcp-auth-extension-<VERSION>-shadow.jar
94+
```
95+
96+
Replace `<VERSION>` with the version you wish to download. For instance, shaded
97+
variant for `v1.44.0-alpha`, will be found at -
98+
99+
`https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-gcp-auth-extension/1.44.0-alpha/opentelemetry-gcp-auth-extension-1.44.0-alpha-shadow.jar`
100+
101+
*Note: Typically, you would want to use the most recent version of the extension.*
102+
86103
### Without OpenTelemetry Java agent
87104

88105
This extension can be used without the OpenTelemetry Java agent by leveraging the [OpenTelemetry SDK Autoconfigure](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md) module.\

0 commit comments

Comments
 (0)