.NET CLR Özel Durumları\Oluşan Özel Durum Sayısı/sn Performans Kuralı

Microsoft.Windows.InternetInformationServices.6.2.WebServer.NumberOfDotNetExceptionsThrownPerSecond (Rule)

Bu sayaç, saniyede oluşan özel durum sayısını görüntüler. Bunlar, .NET özel durumlarını ve .NET özel durumuna dönüştürülen yönetilemeyen özel durumları içerir; örneğin, yönetilemeyen kod içindeki boş işaretçi başvurusu özel durumu, yönetilen kodda .NET System.NullReferenceException olarak yeniden oluşturulabilir; bu sayaç yönetilen ve yönetilemeyen özel durumları içerir. Özel durumlar yalnızca bazı durumlarda oluşmalı ve programın normal denetim akışında yer almamalıdır; bu sayaç, oluşan özel durum oranının geniş olması (> 100) nedeniyle bir olası performans sorunları göstergesi olarak tasarlanmıştır. Bu sayaç, bir ortalama süre değerini göstermez, son iki örnekte gözlenen değerler arasındaki farkın örnek aralığının süresine bölümü sonucu bulunan değeri görüntüler.

Knowledge Base article:

Özet

Bu kural .NET Özel Durumları \ Oluşturulan Özel Durum Sayısı/sn performans sayacını toplar

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryPerformanceCollection
EnabledFalse
Instance Name.NET CLR Exceptions
Counter Name# of Exceps Thrown / sec
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.WebServer.NumberOfDotNetExceptionsThrownPerSecond" Enabled="false" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName># of Exceps Thrown / sec</CounterName>
<ObjectName>.NET CLR Exceptions</ObjectName>
<InstanceName>_Global_</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>