Skip to content

Commit f1fba9a

Browse files
committed
Add explicit instructions for downloading shaded variants
1 parent 98ad5b0 commit f1fba9a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

gcp-auth-extension/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ 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+
> See instructions for [Downloading Shaded JAR](#downloading-shaded-jar) below.
5354
5455
Below is a snippet showing how to add the extension to a Java application using the Gradle build system.
5556

@@ -83,6 +84,21 @@ application {
8384
}
8485
```
8586

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

88104
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)