semantic-conventions/model/registry/deployment.yaml

23 lines
948 B
YAML

groups:
- id: registry.deployment
prefix: deployment
type: attribute_group
brief: >
This document defines attributes for software deployments.
attributes:
- id: environment
type: string
stability: experimental
brief: >
Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment)
(aka deployment tier).
note: |
`deployment.environment` does not affect the uniqueness constraints defined through
the `service.namespace`, `service.name` and `service.instance.id` resource attributes.
This implies that resources carrying the following attribute combinations MUST be
considered to be identifying the same service:
* `service.name=frontend`, `deployment.environment=production`
* `service.name=frontend`, `deployment.environment=staging`.
examples: ['staging', 'production']