This check monitors a Container Runtime Interface
CRI is a core agent 6 check and thus need to be configured in both in datadog.yaml
and with cri.d/conf.yaml
.
In datadog.yaml
you will need to configure your cri_socket_path
for the agent to query your current CRI (you can also configure default timeouts) and in cri.d/conf.yaml
you can configure the check instance settings such as collect_disk
if your CRI (such as containerd
) reports disk usage metrics.
Note that if you're using the agent in a container, setting DD_CRI_SOCKET_PATH
environment variable will automatically enable the CRI
check with the default configuration.
-
Edit the
cri.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your crio performance data. See the sample cri.d/conf.yaml for all available configuration options.
Run the Agent's status
subcommand and look for cri
under the Checks section.
CRI collect metrics about the resource usage of your containers running through the CRI.
CPU and memory metrics are collected out of the box and you can additionally collect some disk metrics if they are supported by your CRI (CRI-O doesn't support them for now)
See metadata.csv for a list of metrics provided by this integration.
CRI does not include service checks.
CRI does not include any events.
Need help? Contact Datadog support.