Table of Contents | ||||
---|---|---|---|---|
|
Terms
Status | ||||
---|---|---|---|---|
|
ALPHA, BETA: 배포 전 테스트 단계이며, 사용에는 제한이 없으나, 기술 지원에 제한적임.
GA(General Availability): 정식 배포 단계, production에서 사용 가능.
Status | ||||
---|---|---|---|---|
|
compute.googleapis.com/
을 접두어로 시작해야 함. (해당 접두사는 표의 항목에서 생략.)Status | ||||
---|---|---|---|---|
|
bit
bitBy
bytes
secondmin
minuteh
hourd
day1
dimensionless
Status | ||||
---|---|---|---|---|
|
GAUGE
: 즉각적으로 측정된 값.DELTA
: 임의의 시간 간격 동안의 변화량.CUMULATIVE
: 누적량.
개요
아래 내용은 Google Cloud에서 제공하는 Metrics 중, 기본 VM instance 인프라를 관리하는 Compute Engine에 해당되는 Metrics만을 정리한 것이다.
전체 서비스(제품)들에 대한 Metrics list는
https://cloud.google.com/monitoring/api/metrics_gcp#gcp에 모두 나와 있다.
API Request 방법은 구조적으로 충분히 일관되어, 필요한 데이터를 유연하게 조합하여 수집 가능하다.
아래 Compute Engine Metrics외의 부분도 필요에 따라 그때 그때 수집하면 될 것이다.
Metrics from Compute Engine
Note |
---|
Compute Engine에 대한 지표 수집에는 Monitoring 또는 Logging 에이전트를 설치할 필요가 없음. 단, 그 중 compute.googleapis.com/guest에 대한 Metric을 수집하려면 Container-Optimized OS Health Monitoring 기능 을 활성화해야 함. |
Metric type | FieldLaunch stage | Display name | Kind, Type, Unit | Description | |
---|---|---|---|---|---|
1 | firewall/ |
| Dropped bytes |
| 방화벽에 의해 drop된 수신 바이트 수. |
2 |
| Dropped packets |
| 방화벽에 의해 drop된 수신 패킷 수. |
...
API Release stages(단계)
ALPHA, BETA: 배포전 테스트 단계이며, 사용에는 제한이 없으나, 기술 지원에 제한적임.
GA: 정식 배포 단계, production에서 사용 가능.
Status | ||||
---|---|---|---|---|
|
compute.googleapis.com/
을 접두어로 시작해야 합니다.(해당 접두사는 표의 항목에서 생략되었습니다.)
Metric type | FieldLaunch stage | Display name | Resource Type | Kind, Type, Unit | Labels | Description | |||
---|---|---|---|---|---|---|---|---|---|
firewall | dropped_bytes_countGA | Dropped bytes | gce_instance |
|
| Count of incoming bytes dropped by the firewall. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds. | |||
3 | guest/cpu/ |
| CPU load average (15m) |
| CPU Load (15 minute intervals). | ||||
4 |
| CPU load average (5m) |
| CPU Load (5 minute intervals). | |||||
5 |
| CPU load average (1m) |
| CPU Load (1 minute intervals). | |||||
6 |
| Runnable task count |
| 실행 대기 큐 內, 실행 가능한 작업 수의 평균 값. | |||||
7 |
| CPU usage |
| CPU usage, in seconds. | |||||
8 | guest/disk/ |
| Disk usage |
| Number of bytes used on disk for file systems. | ||||
9 |
| IO Time |
| 진행 중인 I/O 작업에 소요된 누적 시간. 즉, 큐의 실제 시간과 디스크가 사용 중이었던 시간. | |||||
10 |
| Merged disk operations |
| 병합된 디스크 작업 수. | |||||
11 |
| Disk bytes transferred |
| 디스크 작업에서 전송된 바이트. | |||||
12 |
| Disk operations |
| 디스크 작업 수. | |||||
13 |
| Disk operation time |
| 방향 별 디스크 작업에 소요된 시간. | |||||
14 |
| Queue Length |
| 지난 60초 동안 평균을 낸 디스크의 대기열 길이. | |||||
15 |
| IO Time |
| 디스크에서 소비한 누적 가중치 IO 시간. | |||||
16 | guest/memory/ |
| Anonymous memory usage in Bytes |
| 바이트 단위의 익명 메모리 사용량. | ||||
17 |
| Memory usage in Bytes |
| 각 메모리 상태 별 메모리 사용량(바이트). | |||||
18 |
| Dirty pages usage in Bytes. |
| Dirty pages(PageCache안의 데이터와 디스크 데이터 간 정합성이 깨진 영역에 대한 marking 공간) usage, in Bytes | |||||
19 |
| Page cache memory usage in Bytes |
| 페이지 캐시 메모리 사용량(바이트). | |||||
20 |
| Unevictable memory usage in Bytes |
| Unevictable(회수불가능한) memory usage, in Bytes. | |||||
21 | guest/system/ |
| OS Feature |
| GPU 지원, KTD 커널, 알 수 없는 타사 모듈 사용과 같은 OS 기능 활성화 유무. | ||||
22 |
| Problem Count |
| 기계적 문제가 발생한 횟수. | |||||
23 |
| Problem State |
| 문제가 시스템에 영향을 미치는지 여부. | |||||
24 |
| Uptime |
| 운영 체제가 실행된 시간(초). | |||||
25 | instance/cpu/ |
| Guest Visible vCPUs |
| 게스트 내부에 표시되는 vCPU 수입니다. | ||||
26 |
| Reserved vCPUs |
| 인스턴스 호스트에 예약된 vCPU 수. | |||||
27 |
| Scheduler Wait Time |
| 대기 시간은 vCPU가 실행할 준비가 되었지만 예기치 않게 실행이 스케줄링되지 않은 시간. | |||||
28 |
| CPU usage |
| 모든 vCPU들의 사용량에 대한 Delta 값(변화량), vCPU-seconds단위 | |||||
29 |
| CPU utilization |
| 이 인스턴스에서 할당된 CPU의 비율 사용률입니다. 값은 일반적으로 0.0에서 1.0 사이의 숫자입니다(그러나 일부 머신 유형에서는 1.0 이상으로 버스트를 허용함). | |||||
30 | instance/disk/ |
| Peak disk read bytes |
| 사용자가 지정한 기간 동안 디스크의 최대 초당 읽기 처리량. | ||||
31 |
| Peak disk read ops |
| 사용자가 지정한 기간 동안 디스크의 최대 초당 읽기 요청 수. | |||||
32 |
| Peak disk write bytes |
| 사용자가 지정한 기간 동안 디스크의 최대 초당 쓰기 처리량. | |||||
33 |
| Peak disk write ops |
| 사용자가 지정한 기간 동안 디스크의 최대 초당 쓰기 요청 수. | |||||
34 |
| Disk read bytes |
| 디스크에서 읽은 바이트 수. | |||||
35 |
| Disk read operations |
| 디스크 읽기 IO 작업 수. | |||||
36 |
| Throttled read bytes |
| 제한된(throttled) 읽기 작업의 바이트 수. | |||||
37 |
| Throttled read operations |
| 제한된(throttled) 읽기 작업 수. | |||||
38 |
| Throttled write bytes |
| 제한된(throttled) 쓰기 작업의 바이트 수. | |||||
39 |
| Throttled write operations |
| 제한된(throttled) 쓰기 작업 수. | |||||
40 |
| Disk write bytes |
| 디스크 쓰기 바이트 수. | |||||
41 |
| Disk write operations | 디스크 쓰기 IO 작업 수. | ||||||
42 | instance/integrity/ |
| Early Boot Validation |
| Early Boot 무결성 정책의 유효성 검사 상태.
| ||||
43 |
| Late Boot Validation |
| Late Boot 무결성 정책의 유효성 검사 상태.
| |||||
44 | instance/memory/balloon/ |
| VM Memory Total |
| VM의 총 메모리 양. | ||||
45 |
| VM Memory Used |
| VM에서 현재 사용 중인 메모리. | |||||
46 |
| VM Swap In |
| 자체 스왑 공간에서 게스트로 읽은 메모리 양. | |||||
47 |
| VM Swap Out |
| 게스트에서 자체 스왑 공간으로 쓴 메모리 양. | |||||
48 | instance/network/ |
| Received bytes |
| 네트워크에서 받은 바이트 수. | ||||
49 |
| Received packets |
| 네트워크에서 수신한 패킷 수. | |||||
50 |
| Sent bytes |
| 네트워크를 통해 전송된 바이트 수. | |||||
51 |
| Sent packets |
| 네트워크를 통해 전송된 패킷 수. | |||||
52 | instance/ |
| Uptime |
| VM이 실행되기까지 걸린 시간(초)의 샘플링 델타 값.
| ||||
53 |
| Uptime Total |
| VM이 시작된 이후 경과된 시간. | |||||
54 | instance_group/ |
| Instance group capacity as predicted |
| 예측 자동 확장이 활성화된 경우 인스턴스 그룹의 예상 용량. | ||||
55 |
| Instance group size as predicted |
| 예측 자동 확장이 사용 설정된 경우 인스턴스 그룹에 포함될 예상 VM 수. | |||||
56 |
| Instance group utilization as predicted |
| 예측 자동 크기 조정이 활성화된 경우 모든 제공 VM에 대한 Scaling 측정 항목의 예상 값 합계. | |||||
57 |
| Instance group size |
| 인스턴스 그룹의 VM 수. | |||||
58 | mirroring/ |
| Dropped packets |
| 드롭된 미러링 패킷 수. | ||||
59 |
| Mirrored bytes |
| 미러링된 바이트 수. | |||||
60 |
| Mirrored packets |
| 미러링된 패킷 수. | |||||
61 | nat/ |
| Allocated ports |
| NAT 게이트웨이가 VM에 할당한 포트 수. | ||||
62 |
| Closed connections count |
| NAT 게이트웨이를 통해 닫힌 연결 수. | |||||
63 |
| Received packets dropped count |
| NAT 게이트웨이에서 삭제(drop)된 수신 패킷 수. | |||||
64 |
| Sent packets dropped count |
| NAT 게이트웨이에서 삭제(drop)한 송신 패킷 수. | |||||
65 |
| New connections count |
| NAT 게이트웨이를 통해 생성된 새 연결 수. | |||||
66 |
| Open connections |
| NAT 게이트웨이에서 현재 열려 있는 연결 수. | |||||
67 |
| Port usage |
| VM에서 단일 인터넷 엔드포인트(IP:Port)로의 최대 연결 수. | |||||
68 |
| Received bytes count |
| NAT 게이트웨이를 통해 수신된 바이트 수(Internet -> VM). | |||||
69 |
| Received packets count |
| NAT 게이트웨이를 통해 수신된 패킷 수(Internet -> VM). | |||||
70 |
| Sent bytes count |
| NAT 게이트웨이를 통해 보낸 바이트 수(VM -> Internet ). | |||||
71 |
| Sent packets count |
| NAT 게이트웨이를 통해 보낸 패킷 수(VM -> Internet ). | |||||
72 | quota/instances_per_vpc_network/ |
| Instances Per VPC Network quota exceeded error |
| 할당량 측정항목 compute.googleapis.com/instances_per_vpc_network/limit를 초과하려는 시도 횟수. | ||||
73 |
| Instances Per VPC Network quota limit |
| 현재 할당량 측정항목 compute.googleapis.com/instances_per_vpc_network의 한도 | |||||
74 |
| Instances Per VPC Network quota usage |
| 할당량 측정항목 compute.googleapis.com/instances_per_vpc_network의 현재 사용량. | |||||
75 | quota/ |
| Internal Load Balancer Forwarding Rules per VPC Network quota exceeded error |
| 이하, | ||||
76 |
| Internal Load Balancer Forwarding Rules per VPC Network quota limit |
| ||||||
77 |
| Internal Load Balancer Forwarding Rules per VPC Network quota usage |
| ||||||
78 | quota/ |
| Internal Managed Forwarding Rules per VPC Network quota exceeded error |
| |||||
79 |
| Internal Managed Forwarding Rules per VPC Network quota limit |
| ||||||
80 |
| Internal Managed Forwarding Rules per VPC Network quota usage |
| ||||||
81 | quota/ |
| Internal Protocol Forwarding Rules per VPC Network quota exceeded error |
| |||||
82 |
| Internal Protocol Forwarding Rules per VPC Network quota limit |
| ||||||
83 |
| Internal Protocol Forwarding Rules per VPC Network quota usage |
| ||||||
84 | quota/ip_aliases_per_vpc_network/ |
| IP Aliases per VPC Network quota exceeded error |
| |||||
85 |
| IP Aliases per VPC Network quota limit |
| ||||||
86 |
| IP Aliases per VPC Network quota usage |
| ||||||
87 | quota/ |
| PSC Google APIs Forwarding Rules per VPC Network quota exceeded error |
| |||||
88 |
| PSC Google APIs Forwarding Rules per VPC Network quota limit |
| ||||||
89 |
| PSC Google APIs Forwarding Rules per VPC Network quota usage |
| ||||||
90 | quota/ |
| PSC ILB Consumer Forwarding Rules per Producer VPC Network quota exceeded error |
| |||||
91 |
| PSC ILB Consumer Forwarding Rules per Producer VPC Network quota limit |
| ||||||
92 |
| PSC ILB Consumer Forwarding Rules per Producer VPC Network quota usage |
| ||||||
93 | quota/subnet_ranges_per_vpc_network/ |
| Subnetwork ranges per VPC Network quota exceeded error |
| |||||
94 |
| Subnetwork ranges per VPC Network quota limit |
| ||||||
95 |
| Subnetwork ranges per VPC Network quota usage |
|