DEPLOYMENT_ENVIRONMENT_NAME

Constant DEPLOYMENT_ENVIRONMENT_NAME 

pub const DEPLOYMENT_ENVIRONMENT_NAME: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
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"