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

Need some idea to automate work in dynatrace using python

shriniwasmundli
Newcomer

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.

2 REPLIES 2

AntonioSousa
Champion

Probably, you should have a look at Keptn.

pahofmann
Champion

If you already have an API that can trigger the POD restart, you just need to Setup a Webhook integration to call your API when a Problem is detected. 

 

You can specify the body what is used for the webhook, so your API knows which POD to restart. 

With an Alerting profile you can make sure webhooks are only sent for relevant problems.