Skip to content

Commit

Permalink
Update instrumentation quickstart README links
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Feb 5, 2024
1 parent 2b4f807 commit 838c21d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/instrumentation-quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ following roles to run the example:
### Cloud Shell or GCE

```sh
git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
cd java-docs-samples/opentelemetry/spring-boot-instrumentation/
git clone https://github.com/GoogleCloudPlatform/opentelemetry-operations-java.git
cd opentelemetry-operations-java/examples/instrumentation-quickstart
docker compose up --abort-on-container-exit
```

### Locally with Application Default Credentials


First Create local credentials by running the following command and following the
oauth2 flow (read more about the command [here][auth_command]):

Expand All @@ -51,8 +50,8 @@ Learn more at [Setting Up Authentication for Server to Server Production Applica
Then run the example:

```sh
git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
cd java-docs-samples/opentelemetry/spring-boot-instrumentation/
git clone https://github.com/GoogleCloudPlatform/opentelemetry-operations-java.git
cd opentelemetry-operations-java/examples/instrumentation-quickstart

# Lets collector read mounted config
export USERID="$(id -u)"
Expand Down

0 comments on commit 838c21d

Please sign in to comment.