Process collection with Agent v5

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Standard Agent configuration

Live Processes is available in Datadog Agent version 5.16.0 and above. See the instructions for standard Agent installation for platform-specific details.

Note: Live Processes is not available for the source install method of the Agent.

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 gcr.io/datadoghq/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

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