docs

The scenarios process generate metrics in two ways:

Custom metrics:

In some situations more complex metric generation is required which consists of execution of multiple tasks in scenario. For such cases the tags parameter is used. Once the specific tasks in playbook are tagged with some specific metric name the metrics are calculated as sum of all executed tasks with respective tag. It’s useful in cases where measured metric contains multiple steps to achieve the desired state of service or service resource. For example boot up of virtual machine from deployment until succesfull login via SSH.

tags: ["metric=delete_server"]
tags: ["az=", "service=compute", "metric=create_server"]