ResourceAttributes::DEPLOYMENT_ENVIRONMENT_NAME
Name of the deployment environment (aka deployment tier).
`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:<ul> <li>`service.name=frontend`, `deployment.environment.name=production`</li> <li>`service.name=frontend`, `deployment.environment.name=staging`.</li> </ul>
@example staging @example production
File
-
vendor/
open-telemetry/ sem-conv/ ResourceAttributes.php, line 318
Class
Namespace
OpenTelemetry\SemConvCode
public const DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name';