- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
To instrument your application with Datadog libraries:
Install the Datadog Agent by following the relevant documentation.
To configure the agent for Error Tracking Backend only, you must be running Agent v7.61+.
Open the datadog.yaml configuration file.
Add core_agent
and apm_config
as top-level attributes anywhere in the configuration file with the following settings:
core_agent:
enabled: false
apm_config:
error_tracking_standalone:
enabled: true
If you’re using the Docker containerized Agent, set the following environment variables:
DD_CORE_AGENT_ENABLED=false
DD_APM_ERROR_TRACKING_STANDALONE_ENABLED=true
Here’s an example of how you can include these settings in your Docker run command:
docker run -d --name datadog-agent \
--cgroupns host \
--pid host \
-e DD_API_KEY=<DATADOG_API_KEY> \
-e DD_CORE_AGENT_ENABLED=false \
-e DD_APM_ERROR_TRACKING_STANDALONE_ENABLED=true \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /proc/:/host/proc/:ro \
-v /opt/datadog-agent/run:/opt/datadog-agent/run:rw \
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
gcr.io/datadoghq/agent:latest
If you’re deploying the Agent in Kubernetes, make the following changes in your Helm chart in addition to your Agent configuration:
agents:
containers:
agent:
env:
- name: DD_CORE_AGENT_ENABLED
value: "false"
datadog:
[...]
processAgent:
enabled: false
containerCollection: false
[...]
apm:
errorTrackingStandalone:
enabled: true
Follow the relevant documentation to set up your application to send traces using one of the official Datadog tracing libraries. Follow the OpenTelemetry API guide for your application language to manually send errors through span events.