Containerd is a core Datadog Agent check. You must configure Containerd in both datadog.yaml and containerd.d/conf.yaml.
In datadog.yaml, configure your cri_socket_path for the Agent to query Containerd. In containerd.d/conf.yaml, configure the check instance settings (such as filters) for the events.
If you are using the Agent in a container, setting the DD_CRI_SOCKET_PATH environment variable to the Containerd socket automatically enables the Containerd integration with the default configuration.
For example, to install the integration on Kubernetes, edit your DaemonSet to mount the Containerd socket from the host node to the Agent container and set the DD_CRI_SOCKET_PATH environment variable to the DaemonSet mount path:
Edit the containerd.d/conf.yaml file, in the conf.d/ folder at the root of your Agent’s configuration directory to start collecting your Containerd performance data. See the sample containerd.d/conf.yaml for all available configuration options.
containerd.health Returns CRITICAL if the Agent check is unable to connect to the monitored containerd socket. Returns OK otherwise. Statuses: ok, critical