Synthetic Transaction Configuration Health Unit monitor type.

Microsoft.LS.2015.MonitorType.Health.ST.Config (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.LS.2015.DataSource.SyntheticTransaction.Individual.Event Default
ErrorCondition ConditionDetection System.ExpressionFilter Default
SuccessCondition ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Microsoft.LS.2015.MonitorType.Health.ST.Config" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TargetFqdn" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TestId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="InstanceId" type="xsd:string"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.LS.2015.DataSource.SyntheticTransaction.Individual.Event">
<TargetFqdn>$Config/TargetFqdn$</TargetFqdn>
<TestId>$Config/TestId$</TestId>
<InstanceId>$Config/InstanceId$</InstanceId>
</DataSource>
<ConditionDetection ID="SuccessCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ErrorCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="SuccessCondition">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="ErrorCondition">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>