收集 .NET CSM Apps/\% of Performance violations/sec

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

收集 .NET CSM Apps/\% of Performance violations/sec 性能计数器

Knowledge Base article:

摘要

此规则从应用程序的 .NET CSM Apps/% of Performance violations/sec 性能计数器中收集数据。

该计数器反映从 Internet 浏览器角度度量的客户端性能冲突的速率。 计数器的值取决于监视配置。 计数器值可能大于报告给 Application Diagnostics 控制台的客户端性能事件的速率,原因是该计数器值还包括通过事件限制所抑制的事件。

只有当启用了客户端应用程序性能监视时,此计数器才可用。

当在 Internet 浏览器中度量的运行时间超出所配置的阈值时,将生成客户端性能事件。 造成客户端应用程序性能下降的典型原因包括:Web 服务器性能缓慢、网络缓慢或应用程序代码效率低下。 要了解原因,将需要对随客户端监视警报详细信息提供的数据进行分析。

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmApplicationInstance
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET CSM Apps
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.CsmApplicationInstance.CollectPerformanceEventsRate" 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 Performance violations/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>