- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
If you experience unexpected behavior using OpenTelemetry with Datadog, this guide may help you resolve the issue. If you continue to have trouble, contact Datadog Support for further assistance.
When deploying in Kubernetes, if the hostname reported by Datadog does not match the expected node name, this is typically the result of missing k8s.node.name
(and optionally k8s.cluster.name
) tags.
To troubleshoot, make sure your application deployment and Collector are configured correctly.
Configure the k8s.pod.ip
attribute for your application deployment:
env:
- name: MY_POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: OTEL_RESOURCE
value: k8s.pod.ip=$(MY_POD_IP)
Enable the k8sattributes
processor in your Collector:
k8sattributes:
[...]
processors:
- k8sattributes
For more information on host-identifying attributes, see Mapping OpenTelemetry Semantic Conventions to Hostnames.
In AWS Fargate environments, an incorrect hostname might be reported for traces.
To troubleshoot, make sure to use the resourcedetection
processor in your Collector configuration and enable the ecs
detector.
processors:
resourcedetection:
detectors: [env, ecs]
timeout: 2s
override: false
In a gateway deployment, you may encounter issues with collecting and forwarding host metadata from agent collectors to Datadog.
To troubleshoot:
Configure agent collectors to collect and forward host metadata:
processors:
resourcedetection:
detectors: [system, env]
k8sattributes:
passthrough: true
Configure the gateway collector to extract and forward necessary metadata:
processors:
k8sattributes:
extract:
metadata: [node.name, k8s.node.name]
transform:
trace_statements:
- context: resource
statements:
- set(attributes["datadog.host.use_as_metadata"], true)
exporters:
datadog:
hostname_source: resource_attribute
Verify that host metadata is being collected by agent collectors and properly forwarded through the gateway to Datadog.
For more information, see Mapping OpenTelemetry Semantic Conventions to Infrastructure List Host Information.
추가 유용한 문서, 링크 및 기사: