Skip to content

Commit f9db11a

Browse files
authored
Merge pull request elastic#109 from SylvainJuge/deployment-environment-semconv
semconv 1.27.0 rename: deployment.environment{,.name}
2 parents 60c280c + 7bdac59 commit f9db11a

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
@@ -94,9 +94,9 @@ For example: `OTEL_RESOURCE_ATTRIBUTES=service.version=1.2.3`.
9494

9595
### `environment`
9696

97-
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).
97+
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).
9898

99-
For example: `OTEL_RESOURCE_ATTRIBUTES=deployment.environment=testing`.
99+
For example: `OTEL_RESOURCE_ATTRIBUTES=deployment.environment.name=testing`.
100100

101101
### `global_labels`
102102

0 commit comments

Comments
 (0)