Skip to content

Commit 0bfc99a

Browse files
Update README.md (#3614)
The attribute is `deployment.environment.name`, not `deployment`. See https://opentelemetry.io/docs/specs/semconv/attributes-registry/deployment/
1 parent 27e7271 commit 0bfc99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ metadata:
743743
# this is just an example, you can create any resource attributes you need
744744
resource.opentelemetry.io/service.name: "my-service"
745745
resource.opentelemetry.io/service.version: "1.0.0"
746-
resource.opentelemetry.io/environment: "production"
746+
resource.opentelemetry.io/deployment.environment.name: "production"
747747
spec:
748748
containers:
749749
- name: main-container

0 commit comments

Comments
 (0)