Automation consumption is calculated based on the number of active automation workflows configured in your Dynatrace environment and the length of time that those automations are defined. The unit of measure for automations is a workflow-hour. A workflow-hour is the elapsed time, measured in hours, that a configured workflow exists.
In addition to the hourly rate, each workflow execution triggers AppEngine functions for each executed task. These result in additional consumption of invocations. To control the number of triggered automation tasks, you can configure which automation tasks are executed and triggered based on configurable event subscriptions.
Example calculation: Automation workflows usage
Here is an example calculation showing the total usage of Automation workflows.
Step 1 – Automation workflows
Let's assume a simple automation workflow example with an event that triggers one of two possible tasks. Based on the task's success or failure, a second task is executed. The workflow exists for a period of 14 days.
The workflow-hours consumed for this scenario are calculated as follows:
24 hours x 14 days = 336 workflow-hours
Step 2 – AppEngine functions
Let's assume that within those 14 days, the workflow has triggered a total of 9 times. Each executed task (highlighted green in the graphic below) consumes 1 invocation of an AppEngine function.
AppEngine function consumption is calculated by multiplying the number of workflow executions by the time each AppEngine function takes.
9 (workflow executions) x 2 (executed tasks) x 1 (minutes per AppEngine function) = 18 invocations
Step 3 – Total usage
In total, the above automation workflow has consumed 336 workflow-hours and 18 AppEngine function invocations.