Configuring metadata for script outputs
You can assign units to script outputs and configure them as key performance indicator (KPI).
To define the parameters settings, have the following line as the first or second line in the script output section:
<parameters>AttributeName1,kpi:true,units:seconds|AttributeName2,units:%|AttributeName3,kpi:false</parameters>
Here,
- The pipe character ('|') is used to separate multiple attributes.
- Comma (',') is used to separate different settings of an attribute.
- Colon (':') is used to separate metadata name and value.
For example,
<metadata>I2D=true</metadata>
<parameters>ResponseTime,kpi:true,units:seconds|ProcessingTime,kpi:true,units:ms</parameters>
WebServer=finance.domain.com/10.10.10.11*FinanceApp,ResponseTime=2,ResponseCode=200,LoginUsers=10,ProcessingTime=20
WebServer=callCenter.domain.com/10.10.10.12*CallCenterApp,ResponseTime=3,ResponseCode=200,LoginUsers=20,ProcessingTime=20
In this example, the ResponseTime and ProcessingTime attributes are defined as KPI parameters with units as seconds and ms.