On this page:
|Table of Content Zone|
Machine Agent Settings for Docker Visibility
You can configure the following Docker Visibility settings on the Standalone Machine Agent.
in the following file: <machine-agent-home>/extensions/DockerMonitoring/conf/DockerMonitoring.yml
Specifies the local limit for the number of containers the agent can monitor. The effective limit for each agent is the minimum of
You can change this setting to monitor up to 120 containers
(pool size = 4) or 150 containers (pool size = 5). The trade-off is that increasing the pool size
might lead to higher resource consumption on the agent host.
To change the pool size, set the following.
(New in 4.4.3) cgroup Enabled
Enable (the default) or disable the collection of Docker tags from containers monitored by this agent.
The Standalone Machine Agent can collect Memory and CPU metrics for Docker containers using
cgroupdata. This method is much faster than using the Docker API (the default metric-collection method). You can enable
cgroupmetriccollection on all platforms except Amazon Linux OS. With the cgroup enabled flag set to
This mode is disabled by default. To enable
cgroupmetriccollection, run the agent with the following command-line option set to true:
java -Dappdynamics.docker.container.collection.cgroup.enabled=true -jar machineagent.jar
Controller Settings for Docker Visibility
For information about how to configure these settings, see Controller Settings for Standalone Machine Agents.