Configure Agent Infrastructure Modes
Overview
Infrastructure modes determine which infrastructure monitoring capabilities the Datadog Agent enables on a host. Use these modes to match the Agent’s behavior to the host’s role: full infrastructure monitoring, basic system resource metrics, no infrastructure monitoring, or End User Device monitoring.
Selecting an infrastructure mode controls Agent behavior; it does not enroll your organization in a product or change your subscription. For End User Device Monitoring capabilities and access requirements, see End User Device Monitoring.
Available modes
The Agent supports four infrastructure modes. A checkmark (
) indicates the capability is available in that mode.
| Capability | Full (default) | Basic | End User Device | None |
|---|
| System resource metrics | | | | |
| Infrastructure integrations |
(all) |
(limited set) | | |
| Container Monitoring | | | | |
| Live Processes | | | | |
| Custom checks and logs-only integrations | | | | |
| Custom metrics | | | | |
| Visible in infrastructure dashboards | | | | |
Full
full- Default: Yes
Minimum Agent version: 7.73.0
Recommended for: Most use cases
- The Agent collects system resource metrics and process data, runs all infrastructure integrations, and supports Container Monitoring and Live Processes. If you have not set an
infrastructure_mode value, the Agent runs in full mode.
Basic
basic- Minimum Agent version: 7.73.0 (Linux, macOS), 7.76.2 (Windows)
Recommended for: VMs and physical servers that only need system resource metrics
- The Agent collects system resource metrics (CPU, memory, disk, network) and limited process and service data. Only the following integrations run:
To monitor hosts through vSphere, Proxmox, or Nutanix in Basic mode, see Configure Basic mode for virtualization integrations.
End User Device
end_user_device- Minimum Agent version: 7.76.2
Recommended for: Employee desktops, laptops, and workstations
- The Agent includes all full mode capabilities except Container Monitoring, plus the following.
- Device Performance Monitoring
- Logs Collection
- Wi-Fi Monitoring
- Windows Crash Detection
- Network Path Monitoring
For full descriptions, see Key capabilities. For device-specific requirements and installation instructions, see Set up End User Device Monitoring.
None
none- Minimum Agent version: 7.77.0
Recommended for: Hosts configured only for Log Management, APM, or Error Tracking
- The Agent does not collect any infrastructure metrics or run infrastructure integrations. You can still use custom metrics, custom checks prefixed with
custom_, and logs-only integrations such as journald or Windows Event Log. - Hosts in
none mode appear in Fleet Automation under the View Agents tab because the Agent continues to send metadata to Datadog. However, these hosts do not appear in infrastructure dashboards or queries that rely on infrastructure metrics.
Set the Agent’s infrastructure mode on each host you want to monitor.
New hosts
To configure the infrastructure mode when installing the Agent for the first time, set the DD_INFRASTRUCTURE_MODE=<MODE> environment variable before the installation script is invoked:
In the following command, replace <API_KEY> with your organization’s Datadog API key, <DD_SITE> with , and <MODE> with full, basic, end_user_device, or none:
DD_API_KEY="<API_KEY>" \
DD_SITE="<DD_SITE>" \
DD_INFRASTRUCTURE_MODE="<MODE>" \
bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script_agent7.sh)"
In the following command, replace <API_KEY> with your organization’s Datadog API key, <DD_SITE> with , and <MODE> with full, basic, end_user_device, or none:
$p = Start-Process -Wait -PassThru msiexec -ArgumentList '/qn /i "https://windows-agent.datadoghq.com/datadog-agent-7-latest.amd64.msi" /log C:\Windows\SystemTemp\install-datadog.log APIKEY="<API_KEY>" SITE="<DD_SITE>" DD_INFRASTRUCTURE_MODE="<MODE>"'
if ($p.ExitCode -ne 0) {
Write-Host "msiexec failed with exit code $($p.ExitCode) please check the logs at C:\Windows\SystemTemp\install-datadog.log" -ForegroundColor Red
}
Existing hosts
To set the infrastructure mode for an existing host:
Open the Agent configuration file and add infrastructure_mode at the root level. Replace <MODE> with full, basic, end_user_device, or none.
infrastructure_mode: <MODE>
Restart the Datadog Agent.
Set infrastructure_mode: basic in the virtualization integration instance to report the hosts and VMs it discovers as Basic, including VMs that don’t run the Datadog Agent. This setting is separate from the mode configured in datadog.yaml on the host running the integration. That host’s Agent must use Full mode, because an Agent in Basic mode can’t run virtualization integrations.
If a monitored VM also runs the Datadog Agent in Full or Basic mode, the Agent’s mode takes precedence over the integration’s mode. Configure that Agent to use Basic mode. The following table shows the effective mode for a monitored VM:
| Agent on the monitored VM | Effective mode for the VM |
|---|
| No Agent, or Agent in None mode | The integration’s mode |
| Agent in Basic mode | Basic |
| Agent in Full mode | Full |
The examples below show the fields to add or update in an existing integration configuration. Retain the authentication settings and other required options from the integration’s setup instructions. After updating the configuration, restart the Agent running the integration.
vSphere
On the host running the vSphere integration, use Agent version 7.74.0 or later. Follow the vSphere integration setup instructions, then set infrastructure_mode to basic in the relevant instance:
instances:
- host: <VCENTER_HOSTNAME>
infrastructure_mode: basic
# Retain the other required settings for this instance.
Proxmox
On the host running the Proxmox integration, use Agent version 7.82.0 or later. Follow the Proxmox integration setup instructions, then set infrastructure_mode to basic in the relevant instance:
instances:
- proxmox_server: <PROXMOX_API_ENDPOINT>
infrastructure_mode: basic
# Retain the other required settings for this instance.
Nutanix
On the host running the Nutanix integration, use Agent version 7.83.0 or later. Follow the Nutanix integration setup instructions, then set infrastructure_mode to basic in the relevant instance:
instances:
- pc_ip: <PRISM_CENTRAL_HOSTNAME>
infrastructure_mode: basic
# Retain the other required settings for this instance.
Verify infrastructure mode
To verify the infrastructure mode set on your hosts:
- Navigate to Fleet Automation and select the View Agents tab.
- Select Infrastructure Mode from the Group by dropdown.
- Click a mode group to expand it and see the hosts it contains.
- Optionally, use the search bar to filter to a specific hostname (for example,
hostname:worker1).
Further reading
Additional helpful documentation, links, and articles: