Google Cloud Logging

개요

Google Cloud Logging 프로덕트를 사용하면 Google Cloud Platform에서 로그 데이터 및 이벤트를 저장, 검색, 분석, 모니터링하고 알림을 전송할 수 있습니다.

Datadog은 Google Cloud Logging 메트릭을 불러와 다음 작업을 수행합니다.

  • Google Cloud 로그의 성능을 시각화합니다.
  • Google Cloud 로그 성능과 애플리케이션의 상관 관계를 파악합니다.

설정

설치

Google Cloud 로그의 메트릭은 Google Cloud Platform 통합의 일부로 포함되어 있습니다. 추가 설치 단계가 필요하지 않습니다.

로그 수집

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

수집한 데이터

메트릭

gcp.logging.billing.bytes_ingested
(count)
Log bytes ingested.
Shown as byte
gcp.logging.billing.monthly_bytes_ingested
(gauge)
Month-to-date log bytes ingested.
Shown as byte
gcp.logging.byte_count
(count)
Number of bytes in all log entries ingested.
Shown as byte
gcp.logging.dropped_log_entry_count
(count)
(Deprecated) Number of log entries that did not contribute to user defined metrics.
Shown as entry
gcp.logging.excluded_byte_count
(count)
Number of bytes in log entries that were excluded.
Shown as byte
gcp.logging.excluded_log_entry_count
(count)
Number of log entries that were excluded.
Shown as entry
gcp.logging.exports.byte_count
(count)
Number of bytes in log entries that were exported.
Shown as byte
gcp.logging.exports.error_count
(count)
Number of log entries that failed to be exported.
Shown as entry
gcp.logging.exports.log_entry_count
(count)
Number of log entries that were exported.
Shown as entry
gcp.logging.log_entry_count
(count)
Number of log entries that contributed to user-defined metrics.
Shown as entry
gcp.logging.logs_based_metrics_error_count
(count)
Number of log entries that did not contribute to user defined metrics.
Shown as entry
gcp.logging.metric_throttled
(gauge)
Indicates if points are being dropped for logs-based metrics due to exceeding time series limits.
gcp.logging.time_series_count
(gauge)
Estimate of the active time series count for logs-based metrics.

참고: Datadog은 접두어 gcp.logging.user가 있는 Google Cloud Logging 사용자 정의 메트릭을 수집합니다.

이벤트

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

서비스 점검

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

트러블슈팅

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

참고 자료

추가 유용한 문서, 링크 및 기사:

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