Skip to content

Commit 7bdac59

Browse files
committed
deployment.environment{,.name}
1 parent f26088c commit 7bdac59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_edot-sdks/java/migration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ For example: `OTEL_RESOURCE_ATTRIBUTES=service.version=1.2.3`.
9393

9494
### `environment`
9595

96-
The Elastic [`environment`](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#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).
96+
The Elastic [`environment`](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#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).
9797

98-
For example: `OTEL_RESOURCE_ATTRIBUTES=deployment.environment=testing`.
98+
For example: `OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=testing`.
9999

100100
### `global_labels`
101101

0 commit comments

Comments
 (0)