Why should I install the Datadog Agent on my cloud instances?
The Datadog Agent is software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog, where you can analyze your monitoring and performance data. The Datadog Agent is open source and its source code is available on GitHub at DataDog/datadog-agent.
If you use AWS, Azure, Google Cloud, or another cloud-based metrics provider, installing the Datadog Agent on your instances gives you several benefits, for example:
Better resolution - Cloud providers monitor your hosts externally by sampling them every 5-25 minutes. Additionally, AWS provides metrics on a per-minute basis through their API. As Datadog stores all metrics at a 1-second resolution, AWS metrics are averaged over 60 seconds during post-processing. To provide more granular insight into host performance, the Datadog Agent collects performance statistics every 15 seconds, offering a more detailed view of what’s happening inside your hosts.
Exposed metrics - Datadog has over 50 metrics enabled by default. More metrics can be added with Datadog’s application-specific integrations.
Integrations - Over 750 integrations extend the functionality of the Datadog Agent beyond the native metrics.
Tagging consistency across services: Tags applied at the Agent level are added to all metrics, logs, and traces reported by the Agent.
Custom metrics with DogStatsD - With the Datadog Agent, use the built-in StatsD client to send custom metrics from your application, allowing you to correlate what’s happening with your application, your users, and your system.
Custom Agent checks - For even deeper customization, implement custom Agent checks to collect metrics and other data from your custom systems or applications and send them to Datadog.
Application logs: The Datadog Agent collects and forwards application logs that are created locally on your cloud VMs or containers, so they don’t need to be forwarded through the cloud provider integration. These logs also have Agent-level tags applied.
Application Performance Monitoring (APM) - Traces collected through the Agent give a comprehensive look into your applications, helping you understand end-to-end service performance and identify potential bottlenecks.
Further Reading
Additional helpful documentation, links, and articles: