You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gcp-auth-extension/README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,10 @@ Here is a list of configurable options for the extension:
48
48
The OpenTelemetry Java Agent Extension can be easily added to any Java application by modifying the startup command to the application.
49
49
For more information on Extensions, see the [documentation here](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/examples/extension/README.md).
50
50
51
+
> [!IMPORTANT]
52
+
> 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.
54
+
51
55
Below is a snippet showing how to add the extension to a Java application using the Gradle build system.
52
56
53
57
```gradle
@@ -80,6 +84,21 @@ application {
80
84
}
81
85
```
82
86
87
+
#### Downloading Shaded JAR
88
+
89
+
You can download the shaded JAR for Google Cloud Authentication Extension from the following link -
*Note: Typically, you would want to use the most recent version of the extension.*
101
+
83
102
### Without OpenTelemetry Java agent
84
103
85
104
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