Samla in .NET CSM-prog/Genomsnittlig körningstid (ms)

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

Prestandaräknaren Samla in .NET CSM-prog/Genomsnittlig körningstid för sidförfrågan (ms)

Knowledge Base article:

Sammanfattning

Regeln samlar in data från prestandaräknaren .NET CSM-prog/Genomsn. körningstid för sidbegäran för program.

Räknaren registrerar genomsnittlig körningstid på klientsidan (i millisekunder) för det övervakade programmet. Den här tiden mäts från webbläsaren och visar slutanvändarens upplevda programprestanda.

Den här räknaren är endast tillgänglig om programprestandaövervakning på klientsidan har aktiverats.

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
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.Apm.CsmApplicationInstance.AvgRequestExecutionTime" 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>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>