收集 .NET CSM Statistic/\% of Performance violations/sec 效能計數器
此規則會從網頁的 .NET CSM Statistic/% of Performance violations/sec 效能計數器收集資料。
計數器會顯示從網際網路瀏覽器的角度衡量的網頁效能違規速率。
計數器的值取決於監視設定。 此計數器值可能會大於此網頁回報給 Application Diagnostics 主控台的用戶端效能事件速率,因為計數器值還包含了事件節流功能所隱藏的事件。
此計數器只有在用戶端應用程式效能監視已啟用,且已針對網頁設定用戶端交易時可供網頁使用。
若要為新應用程式的網頁設定用戶端交易:
開啟 [.NET 應用程式效能監視] 範本精靈。
當用戶端監視啟用時,請按一下 [自訂]。
在 [交易] 區段中,按一下 [新增]。
為您要監視的頁面指定用戶端交易設定。
若要為已監視的應用程式網頁設定用戶端交易:
在 .NET 應用程式效能監視範本中,開啟您的 Web 應用程式群組。
按一下 [用戶端監視] 索引標籤。
選取您要變更的應用程式,然後按一下 [自訂]。
在 [交易] 區段中,按一下 [新增]。
為您要監視的頁面指定用戶端交易設定。
Target | Microsoft.SystemCenter.Apm.CsmTransaction |
Category | PerformanceCollection |
Enabled | True |
Instance Name | .NET CSM Statistic |
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.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>