Apm, openshift cpu usage

Hi i have a question about memory and cpu metrics from openshift pods.
From the APM java agent we are getting values in %.
Is the % calculated from request and request limits???

How can we change from % to get the actual values would like to se pod cpu usage in millicores and pod memory in MiB

Hi @johanostberg ,

Those metrics are reported by the JVM itself when the APM agent is installed, which is not aware of the surrounding infrastructure, thus there is no way to convert them to any other unit in the graphs themselves.

However, you can do that monitoring system metrics directly, for example by using an appropriate metricbeat module.

Ok so can you explain for me how the JVM calculates % usage?