Collect .NET CSM Statistic/# of Exceptions/sec performance counter
This rule collects .NET CSM Statistic/# of Exceptions/sec performance counter for web pages.
This counter shows the number of unhandled JavaScript exceptions per second thrown by a webpage 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 for this page to the Application Diagnostics console because the counter value includes events suppressed by event throttling.
This performance counter is available for web pages only when client-side application performance monitoring is enabled and client-side transaction is configured for the page.
To configure a client-side transaction for a webpage of a new application:
Open the .NET Application Performance Monitoring template wizard.
When enabling client-side monitoring, click Customize.
In the Transaction section, click Add.
Specify the client-side transaction settings for the pages you want to monitor.
To configure a client-side transaction for a webpage of an application that is already being monitored:
In .NET Application Performance Monitoring template, open your web application group.
Click the Client-Side Monitoring tab.
Select the application you want to change, and then click Customize.
In the Transaction section, click Add.
Specify the client-side transaction settings for the pages you want to monitor.
Target | Microsoft.SystemCenter.Apm.CsmTransaction |
Category | PerformanceCollection |
Enabled | True |
Instance Name | .NET CSM Statistic |
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.CsmTransaction.CollectExceptionEventsCount" Enabled="true" Target="Microsoft.SystemCenter.Apm.CsmTransaction" 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 CSM Statistic</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmTransaction"]/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>