Are CPU Utilization Metrics Affected for a Java Agent Running in Docker?

Document ID : KB000094316
Last Modified Date : 04/05/2018
Show Technical Document Details
Introduction:
APM Java Agents provide CPU Utilization metrics as described here: https://docops.ca.com/ca-apm/10-7/en/using/apm-metrics/resource-metrics/cpu-utilization-metrics/
Question:
  Are CPU Utilization metrics affected if the Java Agent is run inside a Docker Container?
Answer:
The CPU Utilization metrics reported for an agent running in a docker container, are based on the agent's perspective of cpu from inside the container. This means that all calculations are performed on the processors (and consumption on those processors) allocated to the Docker Container.

For Docker Container and node monitoring, CA's recommends using Docker Monitor: https://docops.ca.com/ca-apm/10-7/en/implementing-agents/infrastructure-agent/docker-monitor/docker-monitoring
Additional Information:
As always, contact CA Support for further questions.