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.
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.
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.
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 theconf.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).
Run the Agent's status
subcommand and look for container
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
Need help? Contact Datadog support.