This check reports a set of metrics about any running containers, regardless of the runtime used to start them.
NOTE: The container check is different from the containerd check. The container checks report standardized metrics for all containers found on the system, regardless of the container runtime.
The containerd is dedicated to containerd runtime and publishes metrics in the containerd.* namespace.
Setup
Installation
Container is a core Datadog Agent check and is automatically activated if any supported container runtime is detected.
Configuring access to supported container runtimes (Docker, containerd) may be required depending on your environment.
Installation on containers
The container check requires some folders to be mounted to allow for automatic activation. This is handled by the official Helm Chart, the Datadog Operator, and as documented set ups for Kubernetes, Docker, ECS, and ECS Fargate.
Configuration
The container check does not expose any specific configuration settings. To customize common fields or to force the activation of the container check, follow these steps:
Create the container.d/conf.yaml file in the conf.d/ folder at the root of your Agent’s configuration directory.
The container check can collect metrics about CPU, Memory, Network and Disks IO.
Some metrics may not be available depending on your environment (Linux / Windows, for instance).