opentelemetry_semantic_conventions::attribute

Constant DEPLOYMENT_ENVIRONMENT_NAME

source
pub const DEPLOYMENT_ENVIRONMENT_NAME: &str = "deployment.environment.name";
Expand description

Name of the deployment environment (aka deployment tier).

§Notes

deployment.environment.name 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.name=production
  • service.name=frontend, deployment.environment.name=staging.

§Examples

  • "staging"
  • "production"