Join us at the Dash conference! July 16-17, NYC

Process collection with Agent v5

Standard Agent Configuration

Live Processes is available in Datadog Agent version 5.16.0.
Refer to the instructions for standard Agent installation for platform-specific details.

Once the Datadog Agent is installed, enable Live Processes collection by editing the configuration file at:

/etc/dd-agent/datadog.conf

and adding the following line to the [Main] section:

    process_agent_enabled: true

After configuration is complete, restart the Agent.
Note: To collect container information in the standard install, the dd-agent user needs to have permissions to access docker.sock.

Docker container

Update to Datadog Agent image version 5.16.0 or above:

$ docker pull datadog/docker-dd-agent

Follow the instructions for docker-dd-agent, passing in the following attributes, in addition to any other custom settings as appropriate:

-v /etc/passwd:/etc/passwd:ro
-e DD_PROCESS_AGENT_ENABLED=true

Kubernetes DaemonSet

In the dd-agent.yaml manifest used to create the DaemonSet, add the following environment variables, volume mount, and volume:

 env:
    - name: DD_PROCESS_AGENT_ENABLED
      value: "true"
  volumeMounts:
    - name: passwd
      mountPath: /etc/passwd
      readOnly: true
  volumes:
    - hostPath:
        path: /etc/passwd
      name: passwd    

Refer to the standard DaemonSet installation and the docker-dd-agent information pages for further documentation.