cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Alerting based on Container metrics

dravisaanka
Guide

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?

 

2 REPLIES 2

ADPaoloni
Mentor

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