본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Cloud

원문 보기 위키 갱신

Status:

출처: 문서

본문

Cloud

type: cloud

Description: 클라우드 환경이에요 (예: GCP, Azure, AWS).

Warning (경고)

이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정된(Stable) 엔티티는 정의된 역할이 없는 속성을 가져서는 안 됩니다 (MUST NOT).

속성:

Role Key Stability Requirement Level Value Type Description Example Values
Other cloud.account.id Recommended string 리소스가 할당된 클라우드 계정 ID예요. [1] 111111111111; opentelemetry; 22222222-2222-2222-2222-222222222222
Other cloud.availability_zone Recommended string 클라우드 리전은 가용성을 높이기 위해 zone이라고 하는 여러 개의 격리된 위치를 갖는 경우가 많아요. 가용성 영역(availability zone)은 리소스가 실행 중인 zone을 나타내요. [2] us-east-1c
Other cloud.platform Recommended string 사용 중인 클라우드 플랫폼이에요. [3] akamai_cloud.compute; alibaba_cloud_ecs; alibaba_cloud_fc
Other cloud.provider Recommended string 클라우드 제공업체(provider)의 이름이에요. akamai_cloud; alibaba_cloud; aws
Other cloud.region Recommended string 클라우드 제공업체 내의 지리적 리전이에요. 리소스와 연관될 때 이 속성은 리소스가 작동하는 리전을 지정해요. 클라우드에 배포된 서비스나 API를 호출할 때는 호출되는 대상(destination)이 배포된 리전을 식별해요. [4] us-central1; us-east-1
Other cloud.resource_id Recommended string 모니터링되는 클라우드 리소스의 클라우드 제공업체 고유 네이티브 식별자예요(예: AWS의 ARN, Azure의 정규화된 리소스 ID, GCP의 전체 리소스 이름). [5] arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function; //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID; /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>

[1] cloud.account.id: Azure의 경우 이 값은 구독 ID(subscription ID)예요.

[2] cloud.availability_zone: 가용성 영역은 Alibaba Cloud와 Google Cloud에서는 "zones"라고 불러요.

[3] cloud.platform: 서비스의 접두사는 cloud.provider에 지정된 것과 일치해야 합니다 (SHOULD).

[4] cloud.region: 사용 가능한 리전을 보려면 제공업체의 문서를 참고하세요. 예: Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, Tencent Cloud regions.

[5] cloud.resource_id: 일부 클라우드 제공업체에서는 시작 시점에 전체 ID를 결정하지 못할 수도 있어요. 그래서 cloud.resource_id를 대신 스팬 속성으로 설정해야 할 수도 있어요.

cloud.resource_id에 사용할 정확한 값은 클라우드 제공업체에 따라 달라요. 이 속성을 설정하고 아래 정의가 해당된다면 다음 잘 알려진 정의를 반드시 사용해야 합니다 (MUST):

  • AWS Lambda: 함수 ARN(function ARN). "invoked ARN"을 직접 사용하지 않고, 같은 런타임 인스턴스가 여러 다른 별칭(alias)으로 호출될 수 있으므로 별칭 접미사를 해석된 함수 버전으로 바꾸는 데 주의하세요.
  • GCP: 리소스의 URI
  • Azure: 호출된 함수의 정규화된 리소스 ID(Fully Qualified Resource ID)로, 함수 앱이 아니며 다음과 같은 형태를 가져요. /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>. 즉, Azure 함수 앱은 보통 TracerProvider를 공유하는 여러 함수를 호스팅할 수 있으므로 스팬 속성을 반드시 사용해야 합니다 (MUST).

cloud.platform은 다음과 같은 잘 알려진 값들이 있어요. 그중 하나가 해당된다면 반드시 그 값을 사용해야 하고, 그렇지 않으면 사용자 정의 값을 사용할 수 있어요.

Value Description Stability
akamai_cloud.compute Akamai Cloud Compute
alibaba_cloud_ecs Alibaba Cloud Elastic Compute Service
alibaba_cloud_fc Alibaba Cloud Function Compute
alibaba_cloud_openshift Red Hat OpenShift on Alibaba Cloud
aws_app_runner AWS App Runner
aws_ec2 AWS Elastic Compute Cloud
aws_ecs AWS Elastic Container Service
aws_eks AWS Elastic Kubernetes Service
aws_elastic_beanstalk AWS Elastic Beanstalk
aws_lambda AWS Lambda
aws_openshift Red Hat OpenShift on AWS (ROSA)
azure.aks Azure Kubernetes Service
azure.app_service Azure App Service
azure.container_apps Azure Container Apps
azure.container_instances Azure Container Instances
azure.functions Azure Functions
azure.openshift Azure Red Hat OpenShift
azure.vm Azure Virtual Machines
gcp.agent_engine Google Vertex AI Agent Engine
gcp_app_engine Google Cloud App Engine (GAE)
gcp_bare_metal_solution Google Bare Metal Solution (BMS)
gcp_cloud_functions Google Cloud Functions (GCF)
gcp_cloud_run Google Cloud Run
gcp_compute_engine Google Cloud Compute Engine (GCE)
gcp_kubernetes_engine Google Cloud Kubernetes Engine (GKE)
gcp_openshift Red Hat OpenShift on Google Cloud
hetzner.cloud_server Server on Hetzner Cloud
ibm_cloud_openshift Red Hat OpenShift on IBM Cloud
oracle_cloud_compute Compute on Oracle Cloud Infrastructure (OCI)
oracle_cloud_oke Kubernetes Engine (OKE) on Oracle Cloud Infrastructure (OCI)
scaleway_cloud_compute Compute on Scaleway Cloud
tencent_cloud_cvm Tencent Cloud Cloud Virtual Machine (CVM)
tencent_cloud_eks Tencent Cloud Elastic Kubernetes Service (EKS)
tencent_cloud_scf Tencent Cloud Serverless Cloud Function (SCF)
vultr.cloud_compute Vultr Cloud Compute

cloud.provider는 다음과 같은 잘 알려진 값들이 있어요. 그중 하나가 해당된다면 반드시 그 값을 사용해야 하고, 그렇지 않으면 사용자 정의 값을 사용할 수 있어요.

Value Description Stability
akamai_cloud Akamai Cloud
alibaba_cloud Alibaba Cloud
aws Amazon Web Services
azure Microsoft Azure
gcp Google Cloud Platform
heroku Heroku Platform as a Service
hetzner Hetzner
ibm_cloud IBM Cloud
oracle_cloud Oracle Cloud Infrastructure (OCI)
scaleway_cloud Scaleway Cloud
tencent_cloud Tencent Cloud
vultr Vultr

더 알아보기 (Learn more)