收集 .NET CSM Apps/效能違規數/秒效能計數器
此規則會收集應用程式的 .NET CSM Apps/# of violations/sec 效能計數器資料。
此計數器是從網際網路瀏覽器的觀點衡量,並反映用戶端效能違反測量的數目。 計數器的值取決於監視設定。 此計數器值可能會大於回報給 Application Diagnostics 主控台的效能事件數目,因為計數器值還包含了事件節流功能所隱藏的事件。
此計數器只有在啟用用戶端應用程式效能監視時可以使用。
用戶端效能事件會在網際網路瀏覽器中衡量的執行時間超過設定的閾值時產生。 一般用戶端應用程式效能降低的原因包括 Web 伺服器的效能不佳、網路速度過慢或應用程式的程式碼效能不好。 了解原因需要分析用戶端監視警示詳細資料所提供的資料。
Target | Microsoft.SystemCenter.Apm.CsmApplicationInstance |
Category | PerformanceCollection |
Enabled | True |
Instance Name | .NET CSM Apps |
Counter Name | # of Performance violations/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.CollectPerformanceEventsCount" 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>