Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Docker Check] add kernel memory usage metric #3396
What does this PR do?
Extends Docker check to provide Kernel Memory Usage Metric
Containers run under cgroups with kernel memory accounting enabled will consume kernel memory which needs to be tracked.
This metric will be zero under newer Docker (18.09) and CentOS 7 kernels. Running containers will memory limits (not kernel memory limits) under CentOS 7 with Docker 17.06 will account usage. Modern Docker on a modern kernel requires setting kernel memory limits when starting the container for this metric to take effect.
This is the Agent 6 implementation of DataDog/integrations-core#3339