For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/integrations/containerd.md.
A documentation index is available at /llms.txt.
To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.
To initiate an exception request to enable this integration for your organization, email support@ddog-gov.com.
Overview
This check monitors the Containerd container runtime.
Setup
Installation
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.
Installation on containers
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.