Wygeneruj średni czas żądania (składnik aplikacji sieci Web)

Microsoft.SystemCenter.ApplicationMonitoring.CsmApplicationComponent.CollectAvgDurationTime (Rule)

Oblicza średnią wartość zagregowaną dla licznika wydajności Aplikacje .NET CSM/średni czas wykonania żądania na stronie

Knowledge Base article:

Podsumowanie

Ta reguła oblicza średnią wartość zagregowaną dla licznika wydajności Aplikacje .NET CSM/średni czas wykonania żądania na stronie dla wystąpień docelowego składnika aplikacji sieci Web.

Element properties:

TargetMicrosoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponent
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.PerformanceDataAggregator Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.ApplicationMonitoring.CsmApplicationComponent.CollectAvgDurationTime" Enabled="true" Target="ApplicationMonitoring!Microsoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponent" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.PerformanceDataAggregator">
<IntervalSeconds>3600</IntervalSeconds>
<ObjectName>.NET CSM Apps</ObjectName>
<CounterName>Aggregate average page request execution time</CounterName>
<InstanceName>$Target/Property[Type="ApplicationMonitoring!Microsoft.SystemCenter.ApplicationMonitoring.Net.ApplicationComponent"]/ApplicationName$</InstanceName>
<ObjectNameQuery>.NET CSM Apps</ObjectNameQuery>
<CounterNameQuery>Average page request execution time (seconds)</CounterNameQuery>
<InstanceNameQuery>%</InstanceNameQuery>
<AggregationType>1</AggregationType>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>