Collect .NET CSM Apps/# of Exceptions/sec performance counter
This rule collects data from the .NET CSM Apps/# of Exceptions/sec performance counter for applications.
This counter records the number of unhandled JavaScript exceptions per second generated by an application in the Internet browser. The number of events recorded by this counter depends on the monitoring configuration. The counter value might be larger than the number of client-side performance events reported to the Application Diagnostics console because the counter value also includes events suppressed by event throttling.
This counter is available only when client-side application performance monitoring is enabled.
The counter is incremented when unhandled JavaScript exceptions occur. Such exceptions are caused by errors in the application code. Understanding their causes requires analysis of the exception stack trace and data supplied with the client-side monitoring alert details.
Target | Microsoft.SystemCenter.Apm.CsmApplicationInstance |
Category | PerformanceCollection |
Enabled | True |
Instance Name | .NET CSM Apps |
Counter Name | # of Exceptions/sec |
Frequency | 300 |
Alert Generate | False |
Remotable | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | System.Performance.DataProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<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>