semantic-conventions/semantic_conventions/resource/cloud.yaml

99 lines
3.6 KiB
YAML

groups:
- id: cloud
prefix: cloud
brief: >
A cloud environment (e.g. GCP, Azure, AWS)
attributes:
- id: provider
type:
allow_custom_values: true
members:
- id: AWS
value: 'aws'
brief: 'Amazon Web Services'
- id: Azure
value: 'azure'
brief: 'Microsoft Azure'
- id: GCP
value: 'gcp'
brief: 'Google Cloud Platform'
brief: >
Name of the cloud provider.
examples: 'gcp'
- id: account.id
type: string
brief: >
The cloud account ID the resource is assigned to.
examples: ['111111111111', 'opentelemetry']
- id: region
type: string
brief: >
The geographical region the resource is running. Refer to your
provider's docs to see the available regions, for example
[AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or
[Google Cloud regions](https://cloud.google.com/about/locations).
examples: ['us-central1', 'us-east-1']
- id: availability_zone
type: string
brief: >
Cloud regions often have multiple, isolated locations known as zones
to increase availability. Availability zone represents the
zone where the resource is running.
note: >
Availability zones are called "zones" on Google Cloud.
examples: ['us-east-1c']
- id: platform
type:
allow_custom_values: true
members:
- id: AWS_EC2
value: 'aws_ec2'
brief: AWS Elastic Compute Cloud
- id: AWS_ECS
value: 'aws_ecs'
brief: AWS Elastic Container Service
- id: AWS_EKS
value: 'aws_eks'
brief: AWS Elastic Kubernetes Service
- id: AWS_Lambda
value: 'aws_lambda'
brief: AWS Lambda
- id: AWS_ElasticBeanstalk
value: 'aws_elastic_beanstalk'
brief: AWS Elastic Beanstalk
- id: Azure_VM
value: 'azure_vm'
brief: Azure Virtual Machines
- id: Azure_ContainerInstances
value: 'azure_container_instances'
brief: Azure Container Instances
- id: Azure_AKS
value: 'azure_aks'
brief: Azure Kubernetes Service
- id: Azure_Functions
value: 'azure_functions'
brief: Azure Functions
- id: Azure_AppService
value: 'azure_app_service'
brief: Azure App Service
- id: GCP_ComputeEngine
value: 'gcp_compute_engine'
brief: Google Cloud Compute Engine (GCE)
- id: GCP_CloudRun
value: 'gcp_cloud_run'
brief: Google Cloud Run
- id: GCP_KubernetesEngine
value: 'gcp_kubernetes_engine'
brief: Google Cloud Kubernetes Engine (GKE)
- id: GCP_CloudFunctions
value: 'gcp_cloud_functions'
brief: Google Cloud Functions (GCF)
- id: GCP_AppEngine
value: 'gcp_app_engine'
brief: Google Cloud App Engine (GAE)
brief: >
The cloud platform in use.
note: >
The prefix of the service SHOULD match the one specified in `cloud.provider`.
examples: ['aws_ec2', 'azure_vm', 'gcp_compute_engine']