콘텐츠로 이동

GCP BigQuery

GCP BigQuery 지표 수집.

구성

Func 설치

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

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

스크립트 설치

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

검증

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

지표

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

지표 원시 지표 설명 단위
query_count query/count 지표: 쿼리 수 Count
query_execution_count query/execution_count 지표: 쿼리 실행 수 Count
query_execution_times query/execution_times 지표: 쿼리 실행 시간 s
query_scanned_bytes query/scanned_bytes 지표: 쿼리 스캔됨 바이트 Bytes
query_scanned_bytes_billed query/scanned_bytes_billed 지표: 쿼리 스캔됨 바이트 과금 Bytes
query_statement_scanned_bytes query/statement_scanned_bytes 지표: 쿼리 문 스캔됨 바이트 Bytes
slots_allocated slots/allocated 지표: 슬롯 할당됨 Count
slots_allocated_for_project slots/allocated_for_project 지표: 슬롯 할당됨 대상 프로젝트 Count
slots_allocated_for_project_and_job_type slots/allocated_for_project_and_job_type 지표: 슬롯 할당됨 대상 프로젝트 및 작업 유형 Count
slots_capacity_committed slots/capacity_committed 지표: 슬롯 용량 커밋됨 Count
storage_stored_bytes storage/stored_bytes 지표: 스토리지 저장됨 바이트 Bytes
storage_table_count storage/table_count 지표: 스토리지 테이블 수 Count
storage_uploaded_bytes storage/uploaded_bytes 지표: 스토리지 업로드됨 바이트 Bytes
storage_uploaded_bytes_billed storage/uploaded_bytes_billed 지표: 스토리지 업로드됨 바이트 과금 Bytes
storage_uploaded_row_count storage/uploaded_row_count 지표: 스토리지 업로드됨 행 수 Count

문서 평가

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