Google Cloud Tasks

개요

Google Cloud Tasks는 대량의 분산 작업의 실행, 디스패칭, 전송을 관리할 수 있는 완전관리형 서비스입니다.

Datadog Google Cloud Platform 통합을 사용하여 Google Cloud Tasks에서 메트릭을 수집합니다.

설정

설치

아직 설치하지 않았다면 먼저 Google 클라우드 플랫폼 통합을 설정합니다. 그 외 다른 설치가 필요하지 않습니다.

로그 수집

Google Cloud Tasks 로그는 Google Cloud Logging으로 수집하여 클라우드 Pub/Sub 토픽을 통해 데이터 플로우 작업으로 전송됩니다. 아직 설정하지 않았다면 Datadog 데이터 플로우 템플릿으로 로깅을 설정하세요.

해당 작업이 완료되면 Google Cloud Logging에서 Google Cloud Tasks 로그를 다음 Pub/Sub 주제로 내보냅니다.

  1. Google Cloud Logging 페이지로 이동해 Google Cloud Tasks 로그를 필터링하세요.
  2. Create Export를 클릭하고 싱크 이름을 지정하세요.
  3. “Cloud Pub/Sub"를 대상으로 선택하고 해당 목적으로 생성된 Pub/Sub 주제를 선택합니다. 참고: Pub/Sub 주제는 다른 프로젝트에 있을 수 있습니다.
  4. Create를 클릭하고 확인 메시지가 나타날 때까지 기다립니다.

수집한 데이터

메트릭

gcp.cloudtasks.api.request_count
(count)
Count of Cloud Tasks API calls.
Shown as request
gcp.cloudtasks.queue.task_attempt_count
(count)
Count of task attempts broken down by response code.
gcp.cloudtasks.queue.task_attempt_delays.avg
(gauge)
Delay between each scheduled attempt time and actual attempt time.
Shown as millisecond
gcp.cloudtasks.queue.task_attempt_delays.samplecount
(count)
Sample count for task attempt delays
Shown as millisecond
gcp.cloudtasks.queue.task_attempt_delays.sumsqdev
(gauge)
Sum of squared deviation for task attempt delays
Shown as second

이벤트

Google Cloud Tasks 통합은 이벤트를 포함하지 않습니다.

서비스 점검

Google Cloud Tasks 통합은 서비스 점검을 포함하지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.

PREVIEWING: alai97/reorganize-some-sections-in-dora-metrics