Skip to content

Commit

Permalink
.env file block removed
Browse files Browse the repository at this point in the history
  • Loading branch information
nerudadhich committed Nov 20, 2023
1 parent 3387b62 commit 5bf335e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions content/en/docs/instrumentation/java/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,9 @@ public final class SampleHttpClient {
}
```

```sh
# .env
export OTEL_SERVICE_NAME=dice-client
export OTEL_TRACES_EXPORTER=logging
export OTEL_METRICS_EXPORTER=logging
export OTEL_LOGS_EXPORTER=logging
export EXTERNAL_API_ENDPOINT=http://localhost:8080/rolldice
```

### Run example app {#example-app-run}

Run `source .env` to export environment variables, by default it will point to
Use `EXTERNAL_API_ENDPOINT` environment variable to change external API endpoint, by default it will point to
`http://localhost:8080/rolldice` where
[example dice app](/docs/instrumentation/java/getting-started/#example-application)
is running.
Expand Down

0 comments on commit 5bf335e

Please sign in to comment.