Collect .NET CSM Statistic/\% of Performance violations/sec

Microsoft.SystemCenter.Apm.CsmTransaction.CollectPerformanceEventsRate (Rule)

Collect .NET CSM Statistic/\% of Performance violations/sec performance counter

Knowledge Base article:

Summary

This rule collects data from the .NET CSM Statistic/% of Performance violations/sec performance counter for web pages.

The counter shows the rate of performance violations of the web pages as measured from the perspective of the Internet browser.

The value of the counter depends on the monitoring configuration. The counter value might be larger than the rate of client-side performance events reported for the web page to Application Diagnostics console because the counter value includes events suppressed by event throttling.

This 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:

To configure a client-side transaction for a webpage of an application that is already being monitored:

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmTransaction
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET CSM Statistic
Counter Name\% of Performance violations/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.CsmTransaction.CollectPerformanceEventsRate" 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 Performance violations/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>