- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Use this guide to troubleshoot metric discrepancies between Google Cloud and Datadog.
Datadog ingests the most granular raw values from Google Cloud. All aggregation seen in Datadog happens on the Datadog side. Datadog’s metrics intake imports the raw values from Google as gauges, and any further aggregation is performed within Datadog. The following steps reconcile the metric gcp.redis.stats.cpu_utilization
between Google Cloud and Datadog.
Find the corresponding metric in Google Cloud.
For the Google Cloud integration, Datadog converts Google Cloud metrics into the format gcp.Google_Cloud_SERVICE_NAME.METRIC_NAME
. For the example metric, the Google Cloud service name is redis, and the metric name is stats/cpu_utilization. The full metric name is redis.googleapis.com/stats/cpu_utilization
.
Find the most granular dimensions.
These include all the Resource labels: project_id
,region
, instance_id
, node_id
, and Metric labels: role
, space
, relationship
. Refer to the Google Cloud documentation for other metrics.
Resource type is associated with each metric under a Google Cloud service. Below are the supported resource types for redis service. The example metric’s resource type is redis_instance
. redis_instance
has Resource labels: project_id
,region
, instance_id
, node_id
.
Graph the metric in the Google Cloud Metrics Explorer.
Search for redis.googleapis.com/stats/cpu_utilization
.
Graph the metric in the Datadog Metrics Explorer.
In most cases, after completing steps 1–4, you see the exact same values in both Google Cloud and Datadog. However, in our example, a discrepancy appears at 01:40:00 PM.
Understand Google Cloud alignment functions.
This discrepancy occurs because by default, Google Cloud applies a rate alignment for this metric. For details, see the Google cloud alignment function documentation. Click on configure aligner
to see that the alignment function is automatically set to rate (0.108711 / 60 ≃ 0.0018119).
Adjust the alignment function in Google Cloud.
Change the alignment function to delta
, min
, max
, sum
, or mean
. Assuming you are using the most granular dimensions, the value in Google Cloud should match the value in Datadog.
추가 유용한 문서, 링크 및 기사: