CloudFoundry
CloudFoundry 관련 엔티티들을 정의한 문서예요.
출처: 문서
본문
CloudFoundry App
Status:
type: cloudfoundry.app
Description: The application which is monitored. (모니터링 대상 애플리케이션을 의미해요.)
경고
이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정적인 엔티티(Stable Entities)는 정의된 역할이 없는 속성을 가져선 안 돼요(MUST NOT).
속성:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values
| Other | cloudfoundry.app.id | | Recommended | string | 애플리케이션의 guid예요. [1] | 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
| Other | cloudfoundry.app.name | | Recommended | string | 애플리케이션의 이름이에요. [2] | my-app-name
[1] cloudfoundry.app.id: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.application_id의 값을 사용해야 해요. 이 값은 cf app <app-name> --guid가 보고하는 값과 같아요.
[2] cloudfoundry.app.name: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.application_name의 값을 사용해야 해요. 이 값은 cf apps가 보고하는 값과 같아요.
CloudFoundry Org
type: cloudfoundry.org
Description: The organization of the application which is monitored. (모니터링 대상 애플리케이션의 조직(organization)을 의미해요.)
경고
이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정적인 엔티티(Stable Entities)는 정의된 역할이 없는 속성을 가져선 안 돼요(MUST NOT).
속성:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values
| Other | cloudfoundry.org.id | | Recommended | string | 애플리케이션이 실행 중인 CloudFoundry org의 guid예요. [3] | 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
| Other | cloudfoundry.org.name | | Recommended | string | 앱이 실행 중인 CloudFoundry 조직의 이름이에요. [4] | my-org-name
[3] cloudfoundry.org.id: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.org_id의 값을 사용해야 해요. 이 값은 cf org <org-name> --guid가 보고하는 값과 같아요.
[4] cloudfoundry.org.name: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.org_name의 값을 사용해야 해요. 이 값은 cf orgs가 보고하는 값과 같아요.
CloudFoundry Process
type: cloudfoundry.process
Description: The process of the application which is monitored. (모니터링 대상 애플리케이션의 프로세스를 의미해요.)
경고
이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정적인 엔티티(Stable Entities)는 정의된 역할이 없는 속성을 가져선 안 돼요(MUST NOT).
속성:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values
| Other | cloudfoundry.process.id | | Recommended | string | 프로세스를 식별하는 UID예요. [5] | 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
| Other | cloudfoundry.process.type | | Recommended | string | 프로세스의 유형이에요. [6] | web
[5] cloudfoundry.process.id: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.process_id의 값을 사용해야 해요. 런타임에 배포된 애플리케이션에서는 VCAP_APPLICATION.app_id와 같아야 해요.
시스템 컴포넌트의 경우 실제 PID가 될 수 있어요.
[6] cloudfoundry.process.type: CloudFoundry 애플리케이션은 여러 개의 job으로 구성될 수 있어요. 보통 메인 프로세스는 web 유형이에요. 서로 다른 프로세스 유형을 가진 추가적인 백그라운드 작업이나 사이드카(side-car)가 있을 수 있어요.
CloudFoundry Space
type: cloudfoundry.space
Description: The space of the application which is monitored. (모니터링 대상 애플리케이션의 스페이스(space)를 의미해요.)
경고
이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정적인 엔티티(Stable Entities)는 정의된 역할이 없는 속성을 가져선 안 돼요(MUST NOT).
속성:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values
| Other | cloudfoundry.space.id | | Recommended | string | 애플리케이션이 실행 중인 CloudFoundry space의 guid예요. [7] | 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
| Other | cloudfoundry.space.name | | Recommended | string | 애플리케이션이 실행 중인 CloudFoundry space의 이름이에요. [8] | my-space-name
[7] cloudfoundry.space.id: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.space_id의 값을 사용해야 해요. 이 값은 cf space <space-name> --guid가 보고하는 값과 같아요.
[8] cloudfoundry.space.name: 애플리케이션 인스트루멘테이션은 환경 변수 VCAP_APPLICATION.space_name의 값을 사용해야 해요. 이 값은 cf spaces가 보고하는 값과 같아요.
CloudFoundry System
type: cloudfoundry.system
Description: The system component which is monitored. (모니터링 대상 시스템 컴포넌트를 의미해요.)
경고
이 엔티티 정의에는 역할(role)이 없는 속성이 포함되어 있어요. 안정적인 엔티티(Stable Entities)는 정의된 역할이 없는 속성을 가져선 안 돼요(MUST NOT).
속성:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values
| Other | cloudfoundry.system.id | | Recommended | string | 이벤트 소스를 설명하는 guid 또는 그 밖의 이름이에요. [9] | cf/gorouter
| Other | cloudfoundry.system.instance.id | | Recommended | string | 이벤트 소스의 구체적인 인스턴스를 설명하는 guid예요. [10] | 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
[9] cloudfoundry.system.id: CloudFoundry는 Loggregator v2 인벨로프(envelope)에서 source_id를 정의해요. CloudFoundry가 내보내는 로그와 메트릭에 사용되며, CloudFoundry 컴포넌트의 경우 "gorouter" 같은 컴포넌트 이름을 담도록 의도했어요.
시스템 컴포넌트를 인스트루멘테이션할 때는 Bosh spec의 값을 사용해야 해요. system.id는 spec.deployment/spec.name으로 설정해야 해요.
[10] cloudfoundry.system.instance.id: CloudFoundry는 Loggregator v2 인벨로프에서 instance_id를 정의해요. CloudFoundry가 내보내는 로그와 메트릭에 사용되며, CloudFoundry 컴포넌트의 vm ID를 담도록 의도했어요.
시스템 컴포넌트를 인스트루멘테이션할 때는 Bosh spec의 값을 사용해야 해요. system.instance.id는 spec.id로 설정해야 해요.