diff --git a/docs/reference/edot-java/migration.md b/docs/reference/edot-java/migration.md index c90824a7..e11f06dd 100644 --- a/docs/reference/edot-java/migration.md +++ b/docs/reference/edot-java/migration.md @@ -64,7 +64,7 @@ If you rely on specific attribute mappings for querying or filtering in {{produc ### `server_url` -The Elastic [`server_url`](apm-agent-java://reference/config-reporter.md#config-server-url) option corresponds to the OpenTelemetry [`OTEL_EXPORTER_OTLP_ENDPOINT`](https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/#otel_exporter_otlp_endpoint) option. +The Elastic [`server_url`](apm-agent-java://reference/config-reporter.md#config-server-url) option is replaced by the OpenTelemetry [`OTEL_EXPORTER_OTLP_ENDPOINT`](https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/#otel_exporter_otlp_endpoint) option. Refer to [Setup](/reference/edot-java/setup/index.md) for endpoint configuration details. ### `server_urls` diff --git a/docs/reference/edot-java/setup/index.md b/docs/reference/edot-java/setup/index.md index babb2501..96d12d26 100644 --- a/docs/reference/edot-java/setup/index.md +++ b/docs/reference/edot-java/setup/index.md @@ -50,7 +50,7 @@ Set the `service.name` resource attribute explicitly with `OTEL_SERVICE_NAME` as The following is an example that sets the `OTEL_EXPORTER_OTLP_ENDPOINT`, `OTEL_EXPORTER_OTLP_HEADERS`, and `OTEL_SERVICE_NAME` environment variables: ```sh -export OTEL_EXPORTER_OTLP_ENDPOINT=https://my-deployment.apm.us-west1.gcp.cloud.es.io +export OTEL_EXPORTER_OTLP_ENDPOINT=https://my-deployment.ingest.us-west1.gcp.cloud.es.io export OTEL_EXPORTER_OTLP_HEADERS="Authorization=ApiKey P....l" export OTEL_SERVICE_NAME="my-awesome-service" ```