.NET CSM Apps/Avg execution time (秒) の収集

Microsoft.SystemCenter.Apm.CsmApplicationInstance.AvgRequestExecutionTimeSeconds (Rule)

.NET CSM Apps/Average page request execution time パフォーマンス カウンターのデータ (秒) を収集します。

Knowledge Base article:

概要

このルールは、アプリケーションの .NET CSM Apps/Average page request execution time パフォーマンス カウンターからデータを収集します。

このカウンターは、監視対象アプリケーションのクライアント側の平均処理時間 (秒) を記録します。 この時間はインターネット ブラウザーのパースペクティブで測定され、エンドユーザーが実感するアプリケーション パフォーマンスを示します。

このカウンターは、クライアント側アプリケーションのパフォーマンス監視が有効な場合のみ利用できます。

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmApplicationInstance
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET CSM Apps
Counter NameAverage page request execution time
Frequency300
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.DataProvider Default
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.Apm.CsmApplicationInstance.AvgRequestExecutionTimeSeconds" Enabled="true" Target="Microsoft.SystemCenter.Apm.CsmApplicationInstance" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.DataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Average page request execution time</CounterName>
<ObjectName>.NET CSM Apps</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/CounterInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<ScaleBy>1000</ScaleBy>
</DataSource>
</DataSources>
<ConditionDetection TypeID="Performance!System.Performance.DataGenericMapper" ID="Mapper">
<ObjectName>.NET CSM Apps</ObjectName>
<CounterName>Average page request execution time (seconds)</CounterName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/CounterInstance$</InstanceName>
<Value>$Data/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>