콘텐츠로 이동

GCP AlloyDB

GCP AlloyDB 지표 수집.

구성

Func 설치

Guance의 통합 - 확장 - 관리형 Func를 활성화하는 것이 좋습니다. 모든 필수 조건이 자동으로 설치되므로 스크립트 설치를 계속 진행하세요.

Func를 직접 배포하는 경우 Func 직접 배포를 참고하세요.

스크립트 설치

  1. Func 콘솔에 로그인하고 [스크립트 마켓]을 클릭하여 Guance 스크립트 마켓을 연 다음 integration_gcp_alloydb를 검색합니다.
  2. [설치]를 클릭하고 계정 파일 이름, Target Principal, 계정 이름을 입력합니다.
  3. [시작 스크립트 배포]를 클릭합니다. 시스템이 Startup 스크립트 세트를 만들고 관련 시작 스크립트를 자동으로 구성합니다.
  4. 활성화한 후 「관리 / 자동 트리거 구성」에서 관련 자동 트리거 구성을 확인할 수 있습니다. [실행]을 클릭하여 즉시 한 번 실행한 다음 작업 기록과 로그를 확인합니다.

검증

  1. 「관리 / 자동 트리거 구성」에서 관련 작업이 있는지 확인하고 작업 기록과 로그에 오류가 없는지 점검합니다.
  2. Guance의 「인프라 / 사용자 정의」에서 관련 자산 정보가 있는지 확인합니다.
  3. Guance의 「지표」에서 관련 지표 집합과 모니터링 데이터가 있는지 확인합니다.

지표

GCP AlloyDB 지표는 gcp_alloydb 지표 집합에 저장되며 원시 지표는 Cloud Monitoring의 alloydb.googleapis.com/ 네임스페이스에서 가져옵니다. 다음 표에는 주요 지표가 나와 있습니다. 전체 목록은 GCP AlloyDB 지표를 참고하세요.

지표 원시 지표 설명 단위
cluster_last_backup_timestamp cluster/last_backup_timestamp 지표: 클러스터 최근 백업 타임스탬프 us
cluster_storage_usage cluster/storage/usage 지표: 클러스터 스토리지 사용량 Bytes
database_postgresql_backends_for_top_databases database/postgresql/backends_for_top_databases 지표: 데이터베이스 PostgreSQL 백엔드 대상 주요 데이터베이스 Count
database_postgresql_blks_hit_for_top_databases database/postgresql/blks_hit_for_top_databases 지표: 데이터베이스 PostgreSQL 블록 적중 대상 주요 데이터베이스 Count
database_postgresql_blks_read_for_top_databases database/postgresql/blks_read_for_top_databases 지표: 데이터베이스 PostgreSQL 블록 읽기 대상 주요 데이터베이스 Count
database_postgresql_committed_transactions_for_top_databases database/postgresql/committed_transactions_for_top_databases 지표: 데이터베이스 PostgreSQL 커밋됨 트랜잭션 대상 주요 데이터베이스 Count
database_postgresql_vacuum_oldest_transaction_age database/postgresql/vacuum/oldest_transaction_age 지표: 데이터베이스 PostgreSQL Vacuum 가장 오래된 트랜잭션 경과 시간 Count
database_postgresql_vacuum_transaction_id_utilization database/postgresql/vacuum/transaction_id_utilization 지표: 데이터베이스 PostgreSQL Vacuum 트랜잭션 ID 사용률 Ratio
instance_cpu_average_utilization instance/cpu/average_utilization 지표: 인스턴스 CPU 평균 사용률 %
instance_cpu_maximum_utilization instance/cpu/maximum_utilization 지표: 인스턴스 CPU 최대 사용률 %
instance_cpu_vcpus instance/cpu/vcpus 지표: 인스턴스 CPU vCPU Count
instance_memory_min_available_memory instance/memory/min_available_memory 지표: 인스턴스 메모리 최소 사용 가능 메모리 Bytes
instance_postgres_abort_count instance/postgres/abort_count 지표: 인스턴스 Postgres 중단 수 Count
instance_postgres_average_connections instance/postgres/average_connections 지표: 인스턴스 Postgres 평균 연결 Count
instance_postgres_commit_count instance/postgres/commit_count 지표: 인스턴스 Postgres 커밋 수 Count
instance_postgres_connections_limit instance/postgres/connections_limit 지표: 인스턴스 Postgres 연결 제한 Count
instance_postgres_instances instance/postgres/instances 지표: 인스턴스 Postgres 인스턴스 Count
instance_postgres_replication_maximum_lag instance/postgres/replication/maximum_lag 지표: 인스턴스 Postgres 복제 최대 지연 ms

문서 평가

이 페이지가 도움이 되었나요?