.NET CSM Apps/# of Exceptions/sec 수집

Microsoft.SystemCenter.Apm.CsmApplicationInstance.CollectExceptionEventsCount (Rule)

.NET CSM Apps/# of Exceptions/sec 성능 카운터를 수집합니다.

Knowledge Base article:

요약

이 규칙은 응용 프로그램의 .NET CSM Apps/# of Exceptions/sec 성능 카운터에서 데이터를 수집합니다.

이 카운터는 인터넷 브라우저의 응용 프로그램에서 생성한 초당 처리되지 않은 JavaScript 예외 수를 기록합니다. 이 카운터에서 기록하는 이벤트 수는 모니터링 구성에 따라 달라집니다. 이 카운터 값에는 이벤트 제한으로 억제되는 이벤트도 포함되므로, 이 카운터 값은 Application Diagnostics 콘솔에 보고된 클라이언트 쪽 성능 이벤트의 수보다 많아질 수 있습니다.

클라이언트 쪽 응용 프로그램 성능 모니터링이 사용되도록 설정된 경우에만 이 카운터를 사용할 수 있습니다.

처리되지 않은 JavaScript 예외가 발생할 경우 이 카운터가 증가됩니다. 이러한 예외는 응용 프로그램 코드의 오류로 인해 발생합니다. 원인을 이해하려면 클라이언트 쪽 모니터링 경고 정보에 제공되는 예외 스택 추적 및 데이터를 분석해야 합니다.

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmApplicationInstance
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET CSM Apps
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.CsmApplicationInstance.CollectExceptionEventsCount" Enabled="true" Target="Microsoft.SystemCenter.Apm.CsmApplicationInstance" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.DataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName># of Exceptions/sec</CounterName>
<ObjectName>.NET CSM Apps</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/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>