콘텐츠로 이동

GCP PubSub

GCP PubSub 지표 수집

구성

Func 설치

추천하는 Guance 통합 - 확장 - 호스팅 버전 Func를 사용하면 모든 사전 조건이 자동으로 설치됩니다. 스크립트 설치를 계속 진행하세요

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

설치 스크립트

  1. Func 콘솔에 로그인한 뒤【스크립트 마켓】을 클릭해 Guance 스크립트 마켓으로 들어가 integration_gcp_pubsub을 검색합니다

  2. 【설치】를 클릭한 뒤, 계정 파일명, Target Principal, 계정명을 입력합니다

  3. 【배포 시작 스크립트】를 클릭하면 시스템이 자동으로 Startup 스크립트 세트를 생성하고, 해당 시작 스크립트를 자동으로 구성합니다

  4. 활성화한 뒤에는 「관리 / 자동 트리거 구성」에서 해당 자동 트리거 구성을 확인할 수 있습니다. 【실행】을 클릭하면 정기 실행을 기다리지 않고 즉시 한 번 실행할 수 있습니다. 잠시 후 실행 작업 기록과 해당 로그를 확인할 수 있습니다

검증

  1. 「관리 / 자동 트리거 구성」에서 해당 작업에 대응하는 자동 트리거 구성이 존재하는지 확인하고, 동시에 해당 작업 기록과 로그를 확인해 이상 여부를 점검합니다
  2. Guance의 「기반 시설 / 사용자 정의」에서 자산 정보가 있는지 확인합니다
  3. Guance의 「지표」에서 해당 모니터링 데이터가 있는지 확인합니다

지표

GCP PubSub 지표는 gcp_pubsub 지표 집합에 있으며, 아래는 일부 지표 설명입니다

지표 원시 지표 설명 단위
snapshot_backlog_bytes snapshot/backlog_bytes 스냅샷 대기 중인 바이트 수 Bytes
snapshot_backlog_bytes_by_region snapshot/backlog_bytes_by_region 지역별 스냅샷 대기 중인 바이트 수 Bytes
snapshot_config_updates_count snapshot/config_updates_count 스냅샷 구성 작업 수 Count
snapshot_num_messages snapshot/num_messages 스냅샷 메시지 수 Count
snapshot_num_messages_by_region snapshot/num_messages_by_region 지역별 스냅샷 메시지 수 Count
snapshot_oldest_message_age snapshot/oldest_message_age 가장 오래된 스냅샷 메시지의 경과 시간 s
snapshot_oldest_message_age_by_region snapshot/oldest_message_age_by_region 지역별 가장 오래된 스냅샷 메시지의 경과 시간 s
subscription_ack_latencies subscription/ack_latencies 확인 지연 시간 ms
subscription_ack_message_count subscription/ack_message_count 확인된 메시지 수 Count
subscription_backlog_bytes subscription/backlog_bytes 대기 중인 크기 Bytes
subscription_billable_bytes_by_region subscription/billable_bytes_by_region 지역별 과금 대상 바이트 수 Bytes
subscription_byte_cost subscription/byte_cost 구독 바이트 비용 Bytes
subscription_dead_letter_message_count subscription/dead_letter_message_count dead letter 메시지 수 Count
subscription_delivery_latency_health_score subscription/delivery_latency_health_score 전달 지연 시간 건강 점수 Count
subscription_expired_ack_deadlines_count subscription/expired_ack_deadlines_count 만료된 확인 기한 수 Count
subscription_message_transform_latencies subscription/message_transform_latencies 구독 메시지 변환 지연 시간 ms
subscription_mod_ack_deadline_message_count subscription/mod_ack_deadline_message_count 확인 기한 수정 메시지 수 Count
subscription_num_retained_acked_messages subscription/num_retained_acked_messages 보관된 확인 완료 메시지 수 Bytes
subscription_num_retained_acked_messages_by_region subscription/num_retained_acked_messages_by_region 지역별 보관된 확인 완료 메시지 수 Count
subscription_num_unacked_messages_by_region subscription/num_unacked_messages_by_region 지역별 미확인 메시지 수 Count
subscription_num_undelivered_messages subscription/num_undelivered_messages 미전달 메시지 수 Count
subscription_oldest_retained_acked_message_age subscription/oldest_retained_acked_message_age 보관된 가장 오래된 확인 완료 메시지의 경과 시간 s
subscription_oldest_retained_acked_message_age_by_region subscription/oldest_retained_acked_message_age_by_region 지역별 보관된 가장 오래된 확인 완료 메시지의 경과 시간 s
subscription_oldest_unacked_message_age subscription/oldest_unacked_message_age 가장 오래된 미확인 메시지의 경과 시간 s
subscription_oldest_unacked_message_age_by_region subscription/oldest_unacked_message_age_by_region 지역별 가장 오래된 미확인 메시지의 경과 시간 s
subscription_open_streaming_pulls subscription/open_streaming_pulls 열린 스트리밍 pull 수 Count
subscription_pull_ack_message_operation_count subscription/pull_ack_message_operation_count 확인 메시지 작업 수 Count
subscription_pull_ack_request_count subscription/pull_ack_request_count 확인 요청 수 Count
subscription_pull_request_count subscription/pull_request_count pull 요청 수 Count
subscription_push_request_count subscription/push_request_count push 요청 수 Count
subscription_push_request_latencies subscription/push_request_latencies push 지연 시간 us
subscription_retained_acked_bytes subscription/retained_acked_bytes 보관된 확인 완료 바이트 수 Bytes
subscription_retained_acked_bytes_by_region subscription/retained_acked_bytes_by_region 지역별 보관된 확인 완료 바이트 수 Bytes
subscription_seek_request_count subscription/seek_request_count seek 요청 수 Count
subscription_sent_message_count subscription/sent_message_count 전송된 메시지 수 Count
topic_byte_cost topic/byte_cost 토픽 바이트 비용 Bytes
topic_config_updates_count topic/config_updates_count 토픽 구성 작업 수 Count
topic_ingestion_byte_count topic/ingestion_byte_count 수집 바이트 수 Bytes
topic_ingestion_data_source_state topic/ingestion_data_source_state 수집 데이터 소스 상태 -
topic_ingestion_failure_count topic/ingestion_failure_count 수집 실패 횟수 Count
topic_ingestion_message_count topic/ingestion_message_count 수집 메시지 수 Count
topic_message_sizes topic/message_sizes 게시 메시지 크기 Bytes
topic_message_transform_latencies topic/message_transform_latencies 토픽 메시지 변환 지연 시간 ms
topic_num_retained_acked_messages_by_region topic/num_retained_acked_messages_by_region 지역별 보관된 확인 완료 메시지 수 Count
topic_num_retained_messages topic/num_retained_messages 보관된 메시지 수 Count
topic_num_unacked_messages_by_region topic/num_unacked_messages_by_region 지역별 미확인 메시지 수 Count
topic_oldest_retained_acked_message_age_by_region topic/oldest_retained_acked_message_age_by_region 지역별 보관된 가장 오래된 확인 완료 메시지의 경과 시간 s
topic_oldest_retained_message_age topic/oldest_retained_message_age 보관된 가장 오래된 메시지의 경과 시간 s
topic_oldest_unacked_message_age_by_region topic/oldest_unacked_message_age_by_region 지역별 가장 오래된 미확인 메시지의 경과 시간 s
topic_retained_acked_bytes_by_region topic/retained_acked_bytes_by_region 지역별 보관된 확인 완료 바이트 수 Bytes
topic_retained_bytes topic/retained_bytes 보관된 바이트 수 Bytes
topic_send_request_count topic/send_request_count 전송된 메시지 수 Count
topic_send_request_latencies topic/send_request_latencies 게시 요청 지연 시간 us
topic_unacked_bytes_by_region topic/unacked_bytes_by_region 지역별 미확인 바이트 수 Bytes

문서 평가

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