Zbieranie czasu do ostatniego bajtu jako danych wydajności w ramach monitorowania dostępności aplikacji sieci Web

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

Ta reguła służy do zbierania czasu do ostatniego bajtu na potrzeby testu monitorowania dostępności aplikacji sieci Web

Knowledge Base article:

Podsumowanie

Ta reguła służy do zbierania czasu do ostatniego bajtu na potrzeby testu monitorowania dostępności aplikacji sieci Web. Jeśli konieczna jest modyfikacja danych zebranych przez ten test, należy w tym celu uruchomić kreatora w sekcji tworzenia w konsoli.

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.CollectTimeToLastByte" 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>Time To Last Byte</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.WebApplicationTest.Performance.CollectTimeToLastByte"]$</RuleId>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>