.NET CLR Exceptions\# Exceptions Thrown/sec 성능 규칙

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

이 카운터는 초당 발생한 예외 수를 표시합니다. 여기에는 .NET 예외와 .NET 예외로 변환되는 관리되지 않는 예외가 모두 포함됩니다. 예를 들어 비관리 코드의 NULL 포인터 참조 예외는 관리 코드에서 .NET System.NullReferenceException으로 다시 발생됩니다. 이 카운터에는 처리된 예외와 처리되지 않은 예외가 모두 포함됩니다. 예외는 드문 경우에만 발생하고 일반적인 제어 흐름에서는 발생하지 않아야 합니다. 이 카운터는 발생한 예외의 비율이 커서(100 초과) 발생할 수 있는 잠재적 성능 문제의 표시기로 설계되었습니다. 이 카운터는 전체 기간의 평균값이 아니며 최근 두 샘플에서 관찰된 값을 샘플 간격 기간으로 나눈 값의 차이를 표시합니다.

Knowledge Base article:

요약

이 규칙은 .NET Exceptions \ # Exceptions Thrown/sec 성능 카운터를 수집합니다.

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>