Отфильтрованная по состоянию подключения производительность
Microsoft.MSMQ.6.3.DataSource.Queue.Statistics.PerformanceFilteredOnConnectionStatus (DataSourceModuleType)
Источник данных для отфильтрованной по состоянию подключения производительности.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.MSMQ.6.3.DataSource.Queue.Statistics.PerformanceFilteredOnConnectionStatus" Accessibility="Public" RunAs="Microsoft.MSMQ.6.3.QueueAccessProfile" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element minOccurs="1" name="QueuePath" type="xsd:string"/>
<xsd:element minOccurs="1" name="CounterName" type="xsd:string"/>
<xsd:element minOccurs="1" name="LogDetail" type="xsd:boolean"/>
<xsd:element minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="LogDetail" Selector="$Config/LogDetail$" ParameterType="bool"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.MSMQ.6.3.DataSource.Queue.Statistics.PropertyBag">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<ComputerName>$Config/ComputerName$</ComputerName>
<QueuePath>$Config/QueuePath$</QueuePath>
<LogDetail>$Config/LogDetail$</LogDetail>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='Connection Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Success</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="MapToPerf" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>MSMQ Queue</ObjectName>
<CounterName>$Config/CounterName$</CounterName>
<InstanceName>$Config/QueuePath$</InstanceName>
<Value>$Data/Property[@Name='$Config/CounterName$']$</Value>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="MapToPerf">
<Node ID="Filter">
<Node ID="DS"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>SystemPerf!System.Performance.Data</OutputType>
</DataSourceModuleType>