Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/reference/edot-java/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/edot-java/setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
Loading