- 필수 기능
- 시작하기
- 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+=`This page outlines the basic features of the Datadog Agent for macOS. See the Supported Platforms documentation for the complete list of supported macOS distributions and versions.
To install the Agent on macOS, follow the in-app instructions in Fleet Automation, and run the generated script on your hosts.
/opt/datadog-agent
. You can move this folder anywhere; however, this documentation assumes a default installation location.The launchctl
service manager controls the Agent lifecycle, while other commands can be executed through the Agent binary, systray app, or web GUI.
Description | Command |
---|---|
Start Agent as a service | launchctl start com.datadoghq.agent or systray app |
Stop Agent running as a service | launchctl stop com.datadoghq.agent or systray app |
Restart Agent running as a service | Stop and then start the Agent with:launchctl stop com.datadoghq.agent launchctl start com.datadoghq.agent Or use the systray app |
Status of Agent service | launchctl list com.datadoghq.agent or systray app |
Status page of running Agent | datadog-agent status or web GUI |
Send flare | datadog-agent flare or web GUI |
Display command usage | datadog-agent --help |
Run a check | datadog-agent check <CHECK_NAME> |
The Datadog Agent configuration file is located in /opt/datadog-agent
. This YAML file holds the host-wide connection details used to send data to Datadog including:
api_key
: your organization’s Datadog API keysite
: target Datadog region (for example datadoghq.com
, datadoghq.eu
, ddog-gov.com
)proxy
: HTTP/HTTPS proxy endpoints for outbound traffic (see Datadog Agent Proxy Configuration)A fully commented reference file, located in /etc/datadog-agent/datadog.yaml.example
, lists every available option for comparison or copy-paste. Alternatively, see the sample config_template.yaml file for all available configuration options.
Configuration files for integrations are found in /etc/datadog-agent/conf.d/
. Each integration has its own sub-directory, <INTEGRATION>.d/
, which contains:
conf.yaml
: the active configuration controlling how the integration gathers metrics and logsconf.yaml.example
: a sample illustrating supported keys and defaultsTo uninstall the Agent, run the following command:
To remove the Agent and all Agent configuration files:
sudo rm -rf /opt/datadog-agent
sudo rm -rf /usr/local/bin/datadog-agent
sudo rm -rf ~/.datadog-agent/** # to remove broken symlinks
launchctl remove com.datadoghq.agent
sudo rm -rf /var/log/datadog
To remove the Agent and all Agent configuration files:
sudo rm -rf /opt/datadog-agent
sudo rm -rf /usr/local/bin/datadog-agent
sudo rm -rf ~/.datadog-agent/** # to remove broken symlinks
sudo launchctl disable system/com.datadoghq.agent && sudo launchctl bootout system/com.datadoghq.agent
sudo launchctl unload /Library/LaunchDaemons/com.datadoghq.agent.plist
sudo rm /Library/LaunchDaemons/com.datadoghq.agent.plist
sudo rm -rf /var/log/datadog
See the Agent Troubleshooting documentation for troubleshooting steps.
The Agent contains an embedded Python environment at /opt/datadog-agent/embedded/
. Common binaries such as python
and pip
are contained within /opt/datadog-agent/embedded/bin/
.
See the instructions on how to add packages to the embedded Agent for more information.