While deploying docker containers, we have option to allocate CPU resources per container. in such a case, our Dynatrace SaaS reports CPU of container as percentage of Host CPU and not as a percentage of CPU allocated per container. do you agree? expectation is finally to get an alert on CPU used per container.
do i need to raise a RFE for this?
Solved! Go to Solution.
Despite of the fact that I've already answered the question via email, I'll do it again on answers, so others can benefit as well.
Dynatrace leverages Docker stats API to capture container metrics. CPU usage percentage is calculated out of two metrics- CPU total and CPU system in a similar way as it’s done by docker client.
Container level events are not supported at the moment but are on the roadmap. We will also think of improving the way CPU usage is reported.
I would also like an update (even EAP availability)
I'm currently in the early stages of building an agent based plugin for this, mainly for alerting based on container metrics. The real challenge is making it generic enough to work in all environments.
We are currently in the process of discussing the plans for investments into Docker monitoring including, but not limited to, cpu and memory utilization and alerts. Please stay tuned for more updates in several weeks.
Francois, can I suggest a phone call to discuss your plans for the plugin this or next week? I would really like to learn about the details of the use cases you wanted to support.
we have got similar query again from different customers now.. can you please suggest how this is being addressed? customers want to "Help required to monitor CPU utilization in % or cores utilized of allocation of specific container" and DT reports currently on Host CPU not CPU's allocated per container.