Cloud Attributes

6 attributes in this category. 6 stable

6 attributes

Stable Attributes

cloud.account.id

string Scrub: Manual Visibility: Public OTel: True

The cloud account ID the resource is assigned to

Example 123456789012
Changelog
v0.7.0 #364 Added 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

string Scrub: Manual Visibility: Public OTel: True

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

Example us-east-1c
Changelog
v0.7.0 #364 Added 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

string Scrub: Manual Visibility: Public OTel: True

The cloud platform in use

Example aws_lambda
Changelog
v0.7.0 #364 Added 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

string Scrub: Manual Visibility: Public OTel: True

Name of the cloud provider

Example aws
Changelog
v0.7.0 #364 Added 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

string Scrub: Manual Visibility: Public OTel: True

The geographical region the resource is running

Example us-east-1
Changelog
v0.7.0 #364 Added 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",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        364
      ],
      "description": "Added cloud.region attribute"
    }
  ]
}

cloud.resource_id

string Scrub: Manual Visibility: Public OTel: True

Cloud provider-specific native identifier of the monitored cloud resource

Example arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function
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.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",
  "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.11.1",
      "prs": [
        414
      ]
    }
  ]
}