Begin with the update of your local cache
sudo apt-get update
sudo apt-get install sysstat
Navigate to the Agent Install Screen in Datadog and select “from source”
Execute the installation command.
DD_API_KEY=<YOUR-API-KEY> sh -c "$(curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/setup_agent.sh)"
Note: The installation process may take up to 30 minutes on some models of Raspberry PI.
If installed correctly, you will see output that looks like:
The Agent runs in the foreground. Some users find benefit in creating an RC script for it or putting it into the
/etc/rc.local like this:
nohup sh /root/.datadog-agent/bin/agent &
You now see metrics being ingested from your Raspberry PI device:
Thank you to Karim Vaes for the excellent blog post!
Note: Datadog does not officially support Raspbian.