09 Jul 2019
02:27 PM
- last edited on
19 May 2021
12:55 AM
by
MaciejNeumann
We would like to have alerts based container metrics. For example, whenever there is a container crash or whenever there is an increase in CPU utilization for a container.
How can this be achieved?
Is this available out of the box or should we use plugins?
Solved! Go to Solution.
How are you watching the container, with oneagent or k8 api?
In general container crash should be related with crash / unavailability of the process that is working inside. So based on this you can turn on alerting In process group about process crashed. This should work. About CPU, there is option for defining custom alerts in Dynatrace for processes as well. From container level it may be possible for defining threshold for proper metric (you need dt version 1.72 with new metrics framework) but I'm not sure if this will work for built in metrics (this is in general for plugins and custom metrics I think).
https://www.dynatrace.com/support/help/shortlink/api-threshold#put-a-threshold-
Sebastian