# how to get Alerts on CPU utilization of Container

**URL:** <https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545>\
**Category:** Alerting\
**Tags:** problems-classic, docker\
**Created:** [June 13, 2017, 9:25am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545 "2017-06-13T09:25:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashok\_Swaminath](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ashok_swaminath/32/30966_2.png) [@Ashok\_Swaminath](https://community.dynatrace.com/u/Ashok_Swaminath)\
**Post date:** [June 13, 2017, 9:25am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/1 "2017-06-13T09:25:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Ashok\_Swaminath](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ashok_swaminath/32/30966_2.png) [@Ashok\_Swaminath](https://community.dynatrace.com/u/Ashok_Swaminath)\
**Post date:** [June 13, 2017, 1:04pm UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/2 "2017-06-13T13:04:54Z")

</div>

Adding more comments..what customer wants is Dynatrace should provide CPU utilization of Container with respect to CPU allocated to container and not on overall Host CPU

---

<div class="post-metadata">

**Author:** ![Karolina\_Ruszko](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/karolina_ruszko/32/27891_2.png) [@Karolina\_Ruszko](https://community.dynatrace.com/u/Karolina_Ruszko)\
**Post date:** [June 16, 2017, 12:24pm UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/3 "2017-06-16T12:24:06Z")

</div>

Hi Ashok,

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.

Best Regards,

Karolina

---

<div class="post-metadata">

**Author:** ![sundeep\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@sundeep\_kumar](https://community.dynatrace.com/u/sundeep_kumar)\
**Post date:** [February 16, 2018, 6:05am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/4 "2018-02-16T06:05:13Z")

</div>

Hi Karolina ,

Could you please provide an update about the status of availability of container specific metrics on Dynatrace .

Regards,

Sundeep

---

<div class="post-metadata">

**Author:** ![francois\_vangra](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@francois\_vangra](https://community.dynatrace.com/u/francois_vangra)\
**Post date:** [March 13, 2018, 10:19am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/5 "2018-03-13T10:19:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bartek\_Gatz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bartek_gatz/32/34818_2.png) [@Bartek\_Gatz](https://community.dynatrace.com/u/Bartek_Gatz)\
**Post date:** [March 14, 2018, 4:02pm UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/6 "2018-03-14T16:02:27Z")

</div>

Hi.

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.

Regards,

Bartek.

---

<div class="post-metadata">

**Author:** ![francois\_vangra](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@francois\_vangra](https://community.dynatrace.com/u/francois_vangra)\
**Post date:** [March 15, 2018, 8:47am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/7 "2018-03-15T08:47:25Z")

</div>

[@Bartosz G.](https://answers.dynatrace.com/users/21759/view.html)

Sure, we can have a chat..

---

<div class="post-metadata">

**Author:** ![Bartek\_Gatz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bartek_gatz/32/34818_2.png) [@Bartek\_Gatz](https://community.dynatrace.com/u/Bartek_Gatz)\
**Post date:** [March 15, 2018, 9:02am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/8 "2018-03-15T09:02:00Z")

</div>

[@Francois van G.](https://answers.dynatrace.com/users/13823/view.html) thank you, Private message sent.

---

<div class="post-metadata">

**Author:** ![brett\_b2](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/brett_b2/32/16875_2.png) [@brett\_b2](https://community.dynatrace.com/u/brett_b2)\
**Post date:** [May 1, 2019, 3:09pm UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/9 "2019-05-01T15:09:58Z")

</div>

Hey [@Bartosz G.](https://answers.dynatrace.com/users/21759/view.html) - is there an update on this? From our Docker Side Menu, we can see the number of currently-running containers, but it is not chartable. If we could chart this metric, we could easily make a custom alert off it. Is this going to be supported in the future?

Thanks!

---

<div class="post-metadata">

**Author:** ![Ashok\_Swaminath](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ashok_swaminath/32/30966_2.png) [@Ashok\_Swaminath](https://community.dynatrace.com/u/Ashok_Swaminath)\
**Post date:** [July 12, 2019, 7:47am UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/10 "2019-07-12T07:47:07Z")

</div>

Hi Bartek,

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.

rgs

ashok

---

<div class="post-metadata">

**Author:** ![khannanitin106](https://avatars.discourse-cdn.com/v4/letter/k/46a35a/32.png) [@khannanitin106](https://community.dynatrace.com/u/khannanitin106)\
**Post date:** [June 18, 2020, 4:53pm UTC](https://community.dynatrace.com/t/how-to-get-alerts-on-cpu-utilization-of-container/6545/11 "2020-06-18T16:53:54Z")

</div>

Hi Team

Can i have the Metrics name to monitor docker container in EC2?
