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

Link to this type

deployment_status_values()

View Source
@type deployment_status_values() :: %{failed: :failed, succeeded: :succeeded}

The status of the deployment.

Enum Values

  • :failed e - failed
  • :succeeded e - succeeded

Functions

Link to this function

deployment_environment()

View Source
This function is deprecated. Deprecated, use `deployment.environment.name` instead. .
@spec deployment_environment() :: :"deployment.environment"
Link to this function

deployment_environment_name()

View Source
@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"
@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"
@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"
@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}
Link to this function

deployment_status_values()

View Source
@spec deployment_status_values() :: deployment_status_values()