diff --git a/content-modules/semantic-conventions b/content-modules/semantic-conventions index 73720582560b..da1dbb567f0f 160000 --- a/content-modules/semantic-conventions +++ b/content-modules/semantic-conventions @@ -1 +1 @@ -Subproject commit 73720582560b5a020df8aee90504fcb411f62713 +Subproject commit da1dbb567f0f0c866dde79a7564a58ab8019b1cf diff --git a/content/en/docs/instrumentation/java/libraries.md b/content/en/docs/instrumentation/java/libraries.md index b6be7a43a222..163a46577e9b 100644 --- a/content/en/docs/instrumentation/java/libraries.md +++ b/content/en/docs/instrumentation/java/libraries.md @@ -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.