.NET İstatistiği/Çağrılar/sn topla

Microsoft.SystemCenter.Apm.Transaction.CollectMonitoredRequests (Rule)

.NET İstatistiği/Çağrılar/sn performans sayacını toplar

Knowledge Base article:

Özet

Bu kural, işlemler için .NET İstatistiği Çağrıları/sn performans sayacını toplar.

Bu sayaç, bir işlem tarafından işlenmekte olan saniye başına isteklerin sayısını kaydeder. İstek uygulamaya ulaştığında bu sayaç artırılır.

Bu sayaç yalnızca uygulama performansı izleme etkin olduğunda kullanılabilir.

Aşırı uzun veritabanı çağrılarının nedeni sunucuyla ilgili veya sorgunun yapısı ve karmaşıklığıyla ilgili bir sorun olabilir. Uzun dosya G/Ç sürelerinin nedeni dosya sunucusuyla ilgili sorunlar olabilir. Web Hizmetleri performans sorunlarının nedeni, Web Hizmeti'nin veya hizmetin bulunduğu sunucunun kullanım dışı kalması veya Web Hizmeti kodunda bir sorun olması olabilir. Uygulamalar için uzun iç yürütme sürelerinin nedeni karmaşık veya verimsiz kodlar olabilir.

Element properties:

TargetMicrosoft.SystemCenter.Apm.Transaction
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET Statistic
Counter NameCalls / 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.Transaction.CollectMonitoredRequests" 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>Calls / 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>