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

Workflows for automatically optimizing hosts

danilo_vukotic
Dynatrace Enthusiast
Dynatrace Enthusiast

Hello Dynatrace Community, 

Welcome to the newest article of the series presenting workflows, that can be useful for you and your team in your everyday work. Today we’re going to take a closer look into how to connect the power of Workflows and Monaco to optimize hosts automatically in your environment. 

 
This workflow sample will help you detect improperly sized hosts and then trigger an approval workflow in external tools (like Jira or ServiceNow). But that’s not all. Workflow will then right-size the environment based on metadata stored in tags by calling the respective infrastructure automation APIs - such as Azure, GCP, AWS, Kubernetes, OpenShift, VMWare, or Ansible. 

Here are all the use cases, that are automated by this workflow sample, step by step: 

  • Query with DQL the current CPU usage for hosts that belong to an Azure environment. It will also use a filter that will only take hosts that are either using above 90% or below 15% of CPU at any given time.  
  • Open a Jira ticket with hosts that need to be resized. 
  • Move the ticket to pending automatically so it can be worked at 
  • Send a notification to a Slack channel 
  • Decide which hosts need to be resized 
  • Obtain a bearer token. 
  • Upsize or downsize a host based on certain conditions from previous steps. 
  • Close the Jira ticket 

 

danilo_vukotic_0-1721637630644.png

 

You can learn everything about how to set up this Workflow and Monaco in this Dynatrace Tips & Tricks Community Episode. Check it out! 


Go to our GitHub repository, to download the workflow and get precise instructions on how to set it (as well as Monaco and Jira automation) up, so everything will work correctly.  

 

Remember - If you have more examples of workflows for the automation of the managing infrastructure of your environment, let us know! This GitHub repository is community-driven, and it’s here for you and your contributions. Help others use automation in Dynatrace to the fullest and learn its features and possibilities along the way.   

0 REPLIES 0

Featured Posts