diff --git a/docs/reference/edot-java/migration.md b/docs/reference/edot-java/migration.md index c6ab5412..3bb4f7db 100644 --- a/docs/reference/edot-java/migration.md +++ b/docs/reference/edot-java/migration.md @@ -98,7 +98,7 @@ For example: `OTEL_RESOURCE_ATTRIBUTES=service.version=1.2.3`. ### `environment` -The Elastic [`environment`](apm-agent-java://reference/config-core.md#config-environment) option corresponds to setting the `deployment.environment` key in [OTEL_RESOURCE_ATTRIBUTES](https://opentelemetry.io/docs/concepts/sdk-configuration/general-sdk-configuration/#otel_resource_attributes). +The Elastic [`environment`](apm-agent-java://reference/config-core.md#config-environment) option corresponds to setting the `deployment.environment.name` key in [OTEL_RESOURCE_ATTRIBUTES](https://opentelemetry.io/docs/concepts/sdk-configuration/general-sdk-configuration/#otel_resource_attributes). For example: `OTEL_RESOURCE_ATTRIBUTES=deployment.environment=testing`. @@ -225,4 +225,4 @@ By default, Micrometer instrumentation is inactive and doesn't capture metrics. ## Troubleshooting -If you're encountering issues during migration, refer to the [EDOT Java troubleshooting guide](docs-content://troubleshoot/ingest/opentelemetry/edot-sdks/java/index.md). \ No newline at end of file +If you're encountering issues during migration, refer to the [EDOT Java troubleshooting guide](docs-content://troubleshoot/ingest/opentelemetry/edot-sdks/java/index.md).