(01)Install Datadog Agent
Linux
1DD_API_KEY=YOUR_KEY DD_SITE=datadoghq.com bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh)"Infrastructure and APM monitoring SaaS agent
What is this?
The Datadog agent collects metrics, logs, and traces from your servers and sends them to Datadog.
Where to create or edit the main configuration — paths below match the setup steps.
/etc/datadog-agent/datadog.yamlLocation: Datadog agent host
API key, site, and integrations
Step 01
1DD_API_KEY=YOUR_KEY DD_SITE=datadoghq.com bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh)"Step 02
1sudo datadog-agent statusStep 03
1sudo datadog-agent status2sudo datadog-agent flare3sudo tail -f /var/log/datadog/agent.log