.NET İstatistiği/Özel Durum Olayları/sn topla

Microsoft.SystemCenter.Apm.Transaction.CollectExceptionEvents (Rule)

.NET İstatistiği/Özel Durum Olayları/sn performans sayacını toplar

Knowledge Base article:

Özet

Bu kural, işlemler için Özel Durumlar/sn performans sayacının .NET İstatistiği sayısını toplar.

Bu sayaç, bir işlem tarafından üretilen saniye başına özel durum olaylarının sayısını kaydeder. Bu sayaç tarafından kaydedilen olayların sayısı, aracı yapılandırması, kritik özel durumların tüm özel durumlara oranı ve özelleştirilmiş özel durum işleyicileri gibi bilgileri temel alır. Bu sayaç, Application Diagnostic konsoluna raporlanan özel durum olaylarının sayısından büyük olabilir, çünkü Olay Denetimi tarafından bastırılan olayları da içerir.

Bu sayaç yalnızca uygulama performansı izleme etkin olduğunda kullanılabilir.

İşlenmeyen bir özel durum oluştuğunda sayaç artırılır. Bu özel durumları çözmek için, özel durum türünü ve özel durumu oluşturan işlevi kontrol edin. Bu tür sorunları çözebilmek için genellikle uygulama kaynak koduna erişim gerekir.

Element properties:

TargetMicrosoft.SystemCenter.Apm.Transaction
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET Statistic
Counter Name# of Exceptions/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.Transaction.CollectExceptionEvents" Enabled="true" Target="Microsoft.SystemCenter.Apm.Transaction" 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 Exceptions/sec</CounterName>
<ObjectName>.NET Statistic</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.Transaction"]/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>