.NET CSM İstatistiği/Performans ihlali/sn \%'si topla

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

.NET CSM İstatistiği/Performans ihlali/sn \%'si topla performans sayacı

Knowledge Base article:

Özet

Bu kural, web sayfaları için .NET CSM İstatistiği/Performans ihlali/sn %’si performans sayacından veri toplar.

Sayaç, web sayfalarındaki performans ihlallerinin hızını Internet tarayıcısının perspektifinden ölçüldüğü şekilde gösterir.

Sayacın değeri izleme yapılandırmasına bağlıdır. Sayaç değeri olay denetimi tarafından gizlenen olayları içerdiği için, sayaç değeri Application Diagnostics konsoluna web sayfası için raporlanan istemci tarafında performans olaylarının hızından fazla olabilir.

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 Name\% of Performance violations/sec
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.CsmTransaction.CollectPerformanceEventsRate" 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>% of Performance violations/sec</CounterName>
<ObjectName>.NET CSM Statistic</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmTransaction"]/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>