.NET CSM İstatistiği/Ortalama'yı topla yürütme süresi (sn)

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

.NET CSM İstatistiği/Ortalama'yı topla sayfa isteği yürütme süresi performans sayacı (sn)

Knowledge Base article:

Özet

Bu kural, web sayfaları için .NET CSM İstatistiği/Ortalama sayfa isteği süresi performans sayacından veri toplar.

Sayaç, izlenen web sayfaları için ortalama istemci tarafında işleme süresini (saniye cinsinden) gösterir. Bu süre, Internet tarayıcısının perspektifinden ölçülür ve izlenen web sayfası performansı ile birlikte kullanıcı deneyimini yansıtır.

Bu sayacın web sayfaları için kullanılabilmesi için, istemci tarafı uygulama performansı izlemenin etkin olması ve sayfa için istemci tarafı işleminin yapılandırılmış olması gerekir.

Yeni bir uygulamanın web sayfası için istemci tarafı işlemi yapılandırmak için:

İzlenmekte olan bir uygulamanın web sayfası için bir istemci tarafı işlemi yapılandırmak için:

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmTransaction
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET CSM Statistic
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.CsmTransaction.AvgRequestExecutionTimeSeconds" Enabled="true" Target="Microsoft.SystemCenter.Apm.CsmTransaction" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.DataProvider">
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Average page request execution time</CounterName>
<ObjectName>.NET CSM Statistic</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmTransaction"]/CounterInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<ScaleBy>1000</ScaleBy>
</DataSource>
</DataSources>
<ConditionDetection TypeID="Performance!System.Performance.DataGenericMapper" ID="Mapper">
<ObjectName>.NET CSM Statistic</ObjectName>
<CounterName>Average page request execution time (seconds)</CounterName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmTransaction"]/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>