Integrations and Crawlers
Key Takeaways
- Agent integrations live in /etc/datadog-agent/conf.d/<check>.d/conf.yaml — activate by copying conf.yaml.example to conf.yaml.
- Standard Agent checks collect host and integration metrics about every 15 seconds by default.
- Cloud and SaaS integrations often use crawlers that poll provider APIs remotely instead of installing an Agent on the managed resource.
- Integrations page status Missing Data means no metrics were detected from that integration in the last 24 hours.
- Use datadog-agent status and inspect the Checks section to confirm an integration loaded correctly.
Quick Answer: Agent integrations are packaged checks configured under
conf.d/<integration>.d/conf.yamlthat collect metrics locally every ~15 seconds. Crawlers poll remote cloud or SaaS APIs when you cannot install an Agent on the resource itself. Both paths land in Datadog as metrics, but latency and troubleshooting differ.
Integrations are how Datadog collects infrastructure and middleware telemetry without custom code: CPU and disk from the host, query throughput from PostgreSQL, connection counts from Nginx, queue depth from RabbitMQ. The Fundamentals exam expects you to know how to enable an integration, verify it is running, and distinguish Agent-based collection from API-based crawlers.
Agent Integrations: Local Collection
The Datadog Agent ships with hundreds of integration packages. Each integration is a scheduled check the Agent runs on a defined interval.
Enabling an Integration on Linux
- Navigate to
/etc/datadog-agent/conf.d/<CHECK_NAME>.d/. - Copy
conf.yaml.exampletoconf.yaml. - Edit
conf.yamlwith connection details (host, port, credentials, custom tags). - Restart the Agent or reload configuration.
- Run
datadog-agent statusand inspect the Checks section.
| Path Element | Example |
|---|---|
| Integration directory | /etc/datadog-agent/conf.d/nginx.d/ |
| Active config file | conf.yaml |
| Inactive template | conf.yaml.example |
On the Exam: The active file is always
conf.yaml, notdatadog.yamland not the.examplefile. Renaming or deleting the example does not auto-generate a working config.
Default Collection Interval
Datadog's documentation states that standard Agent integrations and system metrics collect on a 15-second interval by default. That cadence makes host metrics feel near-real-time in dashboards. Some integrations allow min_collection_interval overrides in their config when less frequent polling is appropriate.
Verifying Integration Health
After configuration, confirm the check is loaded:
sudo datadog-agent status
Scroll to Checks. A healthy integration shows the check name, instance configuration, and last run status. If the check is missing entirely, the config file path or filename is wrong. If it appears but reports errors, credentials, network access, or permissions on the target system are the usual suspects.
The Integrations page in the Datadog UI provides a fleet-wide view. Status indicators help spot problems across many hosts:
| UI Status | Typical Meaning |
|---|---|
| Installed | Integration package present; metrics may or may not be flowing |
| Missing Data | No metrics detected from that integration in the last 24 hours |
| Error | Check ran but returned failures |
Common Trap: Missing Data does not always mean the integration was never installed. It usually means Datadog has not seen fresh metrics recently — verify config, target service health, and Agent connectivity.
Crawlers and API-Based Integrations
Not every resource can run the Datadog Agent. Managed databases, SaaS platforms, and hyperscaler control planes live outside your VPC. For these, Datadog provides integrations that query remote APIs on a schedule — often called crawlers in exam language.
| Collection Pattern | Example Resources | How Data Arrives |
|---|---|---|
| Agent on host | Linux VM, EC2 with Agent | Local check every ~15s |
| API crawler | AWS RDS, Azure SQL, SaaS APIs | Datadog polls provider API; provider delay + crawl interval adds latency |
| Hybrid | Kubernetes with Agent + AWS account integration | Node metrics from Agent; control-plane metrics from crawler |
Why Cloud Metrics Arrive Later
Host metrics from a local Agent often appear within seconds. CloudWatch or Azure Monitor metrics may lag because:
- The cloud provider publishes metrics on its own schedule.
- Datadog's crawler polls the provider API periodically.
- Network and processing add a small buffer.
Exam questions contrast "Agent on EC2" (fast, local) with "RDS CPU via AWS integration" (remote API, expected delay). Neither is broken — the collection architecture differs.
Integration vs DogStatsD vs Crawler
| Need | Right Tool |
|---|---|
| Standard Nginx request rate | nginx Agent integration |
| Custom checkout counter | DogStatsD from app code |
| S3 bucket size from AWS | AWS integration crawler |
| On-prem VMware host CPU | vSphere integration or Agent on hypervisor |
Worked Scenario: PostgreSQL Integration
A DBA enables the Postgres integration on a database host where the Agent already runs:
- Install the integration package if not bundled:
datadog-agent integration install datadog-postgres. - Create
/etc/datadog-agent/conf.d/postgres.d/conf.yamlfrom the example. - Set
host,port,username,password(or IAM auth per docs), and tags likeenv:prod. sudo datadog-agent restart.datadog-agent status→ Checks →postgresshows OK.- Metrics Explorer:
postgresql.connectionsgrouped bydb.
If status shows connection refused, the exam expects you to check firewall rules and whether Postgres accepts connections from localhost — not to reconfigure DogStatsD.
Autodiscovery Connection
In container platforms, Autodiscovery can generate integration configs from templates when containers match identifiers (labels, AD annotations). The Fundamentals outline lists autodiscovery under Networking & Agent Configuration, but Data Collection questions often assume you know integrations still produce the metrics you graph and alert on — only the config delivery mechanism changes.
Integration Management Commands
The datadog-agent integration command family manages packages:
| Action | Purpose |
|---|---|
install | Add a community or vendor integration package |
remove | Uninstall an integration |
show | Display installed version |
freeze | Pin versions for reproducible deployments |
These commands manage integration packages, not dashboards or DogStatsD ports — another favorite distractor pairing on the exam.
Log Collection Note
Host log collection also requires Agent configuration — path, source, and service fields in a logs config file or Autodiscovery template. Logs are not collected automatically from every file on disk. Fundamentals may cross-reference this when distinguishing metrics integrations from log tailing, but the activation pattern (create config, restart Agent, verify in UI) mirrors integration checks.
How do you normally activate a packaged Agent integration from its example configuration?
Roughly how often does the Datadog Agent collect standard host and integration metrics by default?
A cloud service outside your network cannot run the Datadog Agent. Which collection pattern fits best?
On the Integrations page, what does status Missing Data usually indicate?