- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`Correlating traces with host metrics allows you to pivot from a slow request directly to the CPU and memory metrics of the host or container it ran on. This helps you determine if resource contention was the root cause of a performance issue.
Correlation between traces and metrics relies on the following resource attributes:
host.name
: For correlating with host metrics (CPU, memory, disk).container.id
: For correlating with container metrics.Before you begin, ensure you have configured unified service tagging. This is required for all data correlation in Datadog.
To correlate traces and metrics, you must:
Collect Host Metrics: You must have the OpenTelemetry Collector configured to collect and send host metrics to Datadog.
Ensure Consistent Tagging: Your traces and metrics must share a consistent host.name
(for hosts) or container.id
(for containers) attribute for Datadog to link them.
To collect system-level metrics from your infrastructure, enable the hostmetrics
receiver in your OpenTelemetry Collector configuration. This receiver gathers metrics like CPU, memory, disk, and network usage.
Add the hostmetrics
receiver to the receivers
section of your Collector configuration and enable it in your metrics
pipeline:
receivers:
hostmetrics:
collection_interval: 10s
scrapers:
cpu:
memory:
disk:
...
service:
pipelines:
metrics:
receivers: [hostmetrics, ...]
processors: [...]
exporters: [...]
For the complete, working configuration, including Kubernetes-specific setup, see the Host Metrics documentation.
For correlation to work, the host.name
(or container.id
) attribute on your traces must match the corresponding attribute on the metrics collected by the hostmetrics
receiver.
After your application is sending traces and the Collector is sending host metrics, you can see the correlation in the APM Trace View.
This allows you to immediately determine if a spike in host metrics corresponds with the performance of a specific request.
추가 유용한 문서, 링크 및 기사: