18 Feb 2021 02:12 AM - last edited on 24 May 2021 03:10 PM by MaciejNeumann
We want to automate the pod restart in dynatrace if there is a performance issue with one of the pod like there is high cpu etc etc and we want to restart that pod, in that case we want dynatrace to come into the picture and call our api to either restart or scale the pods. Please kindly provide some insight to work on this. We need to achieve with with our api.
Solved! Go to Solution.
18 Feb 2021 09:49 AM
You can use Webhook integrations for Problems detected by Dynatrace to call you API.
You could restart pods as soon as they are affected by a problem, or define Metric events for alerting to specify triggers for problems that you want to use for the restart, like high CPU consumption.
18 Feb 2021 09:24 PM
Hi Patrick Thank a lot for you input. I am new to automation.. is that possible any sample test code which I use for reference purpose that can help me to do more research as per my project requirement. Thanks again.