Is your feature request related to a problem? Please describe.
A few users have expressed a desire to be able to target CPU as a % of CPU limits/quota in containerized environments.
Describe the solution you'd like
Will need to use cgroup functionality to determine CPU usage as a fraction of the container's used CPU vs it's limit/quota.
Additional context
It also appears that the memory usage calculation when in a cgroup environment can be wrong. It seems like maybe the whole-host usage is getting compared against per-container limits and ending up with improperly high usage percentages. If that's the case, fix.