Cloud Attributes

6 attributes in this category.6 stable

6 attributes

Stable Attributes

cloud.account.id

stringScrub: ManualVisibility: PublicOTel: True

The cloud account ID the resource is assigned to

Example123456789012
Changelog
v0.7.0#364Added cloud.account.id attribute
Raw JSON
{
  "key": "cloud.account.id",
  "brief": "The cloud account ID the resource is assigned to",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "123456789012",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        364
      ],
      "description": "Added cloud.account.id attribute"
    }
  ]
}

cloud.availability_zone

stringScrub: ManualVisibility: PublicOTel: True

Cloud regions often have multiple, isolated locations known as zones to increase availability

Exampleus-east-1c
Changelog
v0.7.0#364Added cloud.availability_zone attribute
Raw JSON
{
  "key": "cloud.availability_zone",
  "brief": "Cloud regions often have multiple, isolated locations known as zones to increase availability",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "us-east-1c",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        364
      ],
      "description": "Added cloud.availability_zone attribute"
    }
  ]
}

cloud.platform

stringScrub: ManualVisibility: PublicOTel: True

The cloud platform in use

Exampleaws_lambda
Changelog
v0.7.0#364Added cloud.platform attribute
Raw JSON
{
  "key": "cloud.platform",
  "brief": "The cloud platform in use",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "aws_lambda",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        364
      ],
      "description": "Added cloud.platform attribute"
    }
  ]
}

cloud.provider

stringScrub: ManualVisibility: PublicOTel: True

Name of the cloud provider

Exampleaws
Changelog
v0.7.0#364Added cloud.provider attribute
Raw JSON
{
  "key": "cloud.provider",
  "brief": "Name of the cloud provider",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "aws",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        364
      ],
      "description": "Added cloud.provider attribute"
    }
  ]
}

cloud.region

stringScrub: ManualVisibility: PublicOTel: True

The geographical region the resource is running

Exampleus-east-1
Changelog
v0.19.0#535#537Added aws_region and gcp_region as aliases
v0.7.0#364Added cloud.region attribute
Raw JSON
{
  "key": "cloud.region",
  "brief": "The geographical region the resource is running",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "us-east-1",
  "alias": [
    "aws_region",
    "gcp_region"
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        535,
        537
      ],
      "description": "Added aws_region and gcp_region as aliases"
    },
    {
      "version": "0.7.0",
      "prs": [
        364
      ],
      "description": "Added cloud.region attribute"
    }
  ]
}

cloud.resource_id

stringScrub: ManualVisibility: PublicOTel: True

Cloud provider-specific native identifier of the monitored cloud resource

Examplearn:aws:lambda:REGION:ACCOUNT_ID:function:my-function
Aliasesfaas.id
Additional Context
  • This can be an identifier for a resource in AWS, GCP, or Azure. There may be some overlap in values found here with other attributes. For instance, an AWS lambda ARN may be found here as well as in `aws.lambda.invoked_arn`. OTEL recommends setting them alongside each other.
Changelog
v0.16.0#475Added faas.id as an alias
v0.11.1#414
Raw JSON
{
  "key": "cloud.resource_id",
  "brief": "Cloud provider-specific native identifier of the monitored cloud resource",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function",
  "alias": [
    "faas.id"
  ],
  "additional_context": [
    "This can be an identifier for a resource in AWS, GCP, or Azure. There may be some overlap in values found here with other attributes. For instance, an AWS lambda ARN may be found here as well as in `aws.lambda.invoked_arn`. OTEL recommends setting them alongside each other."
  ],
  "changelog": [
    {
      "version": "0.16.0",
      "prs": [
        475
      ],
      "description": "Added faas.id as an alias"
    },
    {
      "version": "0.11.1",
      "prs": [
        414
      ]
    }
  ]
}