View Source OpenTelemetry.SemConv.Incubating.DeploymentAttributes (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for Deployment attributes.
Summary
Types
The status of the deployment.
Functions
Name of the deployment environment (aka deployment tier).
The id of the deployment.
The name of the deployment.
The status of the deployment.
Types
Functions
@spec deployment_environment() :: :"deployment.environment"
@spec deployment_environment_name() :: :"deployment.environment.name"
Name of the deployment environment (aka deployment tier).
Value type
Value must be of type atom() | String.t()
.
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"]
iex> OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_environment_name()
:"deployment.environment.name"
?DEPLOYMENT_ENVIRONMENT_NAME.
'deployment.environment.name'
@spec deployment_id() :: :"deployment.id"
The id of the deployment.
Value type
Value must be of type atom() | String.t()
.
Examples
["1208"]
iex> OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_id()
:"deployment.id"
?DEPLOYMENT_ID.
'deployment.id'
@spec deployment_name() :: :"deployment.name"
The name of the deployment.
Value type
Value must be of type atom() | String.t()
.
Examples
["deploy my app", "deploy-frontend"]
iex> OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_name()
:"deployment.name"
?DEPLOYMENT_NAME.
'deployment.name'
@spec deployment_status() :: :"deployment.status"
The status of the deployment.
iex> OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_status()
:"deployment.status"
iex> OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_status_values().failed
:failed
iex> %{OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_status() => OpenTelemetry.SemConv.Incubating.DeploymentAttributes.deployment_status_values().failed}
%{:"deployment.status" => :failed}
?DEPLOYMENT_STATUS.
'deployment.status'
?DEPLOYMENT_STATUS_VALUES_FAILED.
'failed'
#{?DEPLOYMENT_STATUS => ?DEPLOYMENT_STATUS_VALUES_FAILED}.
#{'deployment.status' => 'failed'}
@spec deployment_status_values() :: deployment_status_values()