Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme to include download link for exporter auto #280

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions exporters/auto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,34 @@ To leverage the GCP extensions to this, simply add the exporter-auto dependency
<dependency>
<groupId>com.google.cloud.opentelemetry</groupId>
<artifactId>exporter-auto</artifactId>
<version>0.25.1-alpha</version>
<version>0.26.0-alpha</version>
<!-- Add the classifier if you explicitly wish to use the shaded variant -->
<classifier>shaded</classifier>
</dependency>
```

#### Gradle
```groovy
implementation "com.google.cloud.opentelemetry:exporter-auto:0.25.1-alpha"
implementation "com.google.cloud.opentelemetry:exporter-auto:0.26.0-alpha"
```

To use the shaded variant with Gradle,
```groovy
implementation "com.google.cloud.opentelemetry:exporter-auto:0.25.1-alpha:shaded"
implementation "com.google.cloud.opentelemetry:exporter-auto:0.26.0-alpha:shaded"
```

*Note: Make sure to use the latest release [![LatestRelease][maven-image]][maven-url].*
#### Shaded Local JAR

You can download the shaded JAR for `exporter-auto` from the following link -
```text
https://repo1.maven.org/maven2/com/google/cloud/opentelemetry/exporter-auto/<VERSION>-alpha/exporter-auto-<VERSION>-alpha-shaded.jar
```
Replace `<VERSION>` with the version you wish to download. For instance, shaded
variant for `v0.26.0`, will be found at -

`https://repo1.maven.org/maven2/com/google/cloud/opentelemetry/exporter-auto/0.26.0-alpha/exporter-auto-0.26.0-alpha-shaded.jar`

**Note: Make sure to use the latest release [![LatestRelease][maven-image]][maven-url].**

Then you can configure your sdk using the following system properties/environmnet variables:

Expand Down
Loading