Collects .NET Statistic/Exception Events/sec performance counter
This rule collects .NET Statistic # of Exceptions/sec performance counter for transactions.
This counter records the number of exception events per second generated by a transaction. The number of events recorded by this counter is based on information, such as the agent configuration, the proportion of critical exceptions to all exceptions, and customized exception handlers. This counter might be larger than the number of exception events reported to Application Diagnostic console, because it also includes events that are suppressed by Event Throttling.
This counter is only available when application performance monitoring is enabled.
The counter is incremented when an unhandled exception occurs. To resolve these exceptions, check the exception type and the function that the exception was thrown from. Resolution of these types of problems typically requires access to application source code.
Target | Microsoft.SystemCenter.Apm.Transaction |
Category | PerformanceCollection |
Enabled | True |
Instance Name | .NET 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.Transaction.CollectExceptionEvents" Enabled="true" Target="Microsoft.SystemCenter.Apm.Transaction" 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 Statistic</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.Transaction"]/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>