Web 应用程序可用性监视性能 TCP 连接时间收集

Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.Performance.CollectTCPConnectTime (Rule)

此规则为 Web 应用程序可用性监视测试收集 TCP 连接时间

Knowledge Base article:

摘要

此规则为 Web 应用程序可用性监视测试收集 TCP 连接时间。 如果你需要通过此测试修改收集的数据,则应运行控制台的创作部分中的向导来进行修改。

Element properties:

TargetMicrosoft.SystemCenter.WebApplicationTest.WebTest
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.Performance.CollectData.DS Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.Performance.CollectTCPConnectTime" Enabled="true" Target="Microsoft.SystemCenter.WebApplicationTest.WebTest" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.Performance.CollectData.DS">
<CounterName>TCP Connect Time</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.WebApplicationTest.Performance.CollectTCPConnectTime"]$</RuleId>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>