개요
Cloud IoT는 전역 분산된 수백만 개의 디바이스에서 데이터를 쉽고 안전하게 연결, 관리 및 수집할 수 있도록 도와드리는 완전관리형 서비스입니다.
Datadog Google Cloud Platform 통합을 사용하여 Google Cloud IoT에서 메트릭을 수집합니다.
설정
설치
아직 설치하지 않았다면 먼저 Google 클라우드 플랫폼 통합을 설정합니다. 그 외 다른 설치가 필요하지 않습니다.
로그 수집
Google Cloud IoT 로그는 Google Cloud Logging으로 수집하여 클라우드 Pub/Sub 토픽을 통해 데이터 플로우 작업으로 전송됩니다. 아직 설정하지 않았다면 Datadog 데이터 플로우 템플릿으로 로깅을 설정하세요.
해당 작업이 완료되면 Google Cloud Logging에서 Google Cloud IoT 로그를 다음 Pub/Sub 주제로 내보냅니다.
- Google Cloud Logging 페이지로 이동해 Google Cloud IoT 로그를 필터링하세요.
- Create Export를 클릭하고 싱크 이름을 지정하세요.
- “Cloud Pub/Sub"를 대상으로 선택하고 해당 목적으로 생성된 Pub/Sub 주제를 선택합니다. 참고: Pub/Sub 주제는 다른 프로젝트에 있을 수 있습니다.
- Create를 클릭하고 확인 메시지가 나타날 때까지 기다립니다.
수집한 데이터
메트릭
| |
---|
gcp.cloudiot.device.active_devices (gauge) | Count of the number of devices that have recently sent data to Cloud IoT Core. Shown as device |
gcp.cloudiot.device.billing_bytes_count (gauge) | Count of the number of billable bytes transferred by devices. Shown as byte |
gcp.cloudiot.device.error_count (count) | Delta count of errors communicating with devices, grouped by error type. Shown as error |
gcp.cloudiot.device.operation_count (count) | Delta count of operations performed, grouped by operation type. Shown as operation |
gcp.cloudiot.device.received_bytes_count (count) | Delta count of number of bytes received from devices. Shown as byte |
gcp.cloudiot.device.sent_bytes_count (count) | Delta count of number of bytes sent by devices. Shown as byte |
이벤트
Google Cloud IoT 통합은 이벤트를 포함하지 않습니다.
서비스 점검
Google Cloud IoT 통합은 서비스 점검을 포함하지 않습니다.
트러블슈팅
도움이 필요하신가요? Datadog 지원팀에 문의하세요.