.NET Apps/\% Performance Events/sec 수집

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

.NET Apps/\% Performance Events/sec는 초당 발생한 성능 이벤트 백분율을 제공합니다. 이벤트 폴링 기간에 걸쳐 다수의 장기 실행 요청이 발생하는 경우 이 숫자는 100\%를 넘을 수 있습니다.

Knowledge Base article:

요약

이 규칙은 응용 프로그램의 .NET Apps Performance events 성능 카운터를 수집합니다.

이 카운터는 초당 응용 프로그램에서 생성하는 성능 이벤트 수를 기록합니다. 이 카운터에서 기록하는 이벤트 수는 에이전트 구성, 임계값 수준, 사용되는 네임스페이스 등의 정보에 기반합니다. 이 카운터에는 이벤트 제한으로 억제되는 이벤트도 포함되므로, 이 카운터는 Application Diagnostics 콘솔에 보고된 성능 이벤트의 수보다 많아질 수 있습니다.

응용 프로그램 성능 모니터링이 사용되도록 설정된 경우에만 이 카운터를 사용할 수 있습니다.

서버 문제 또는 쿼리의 구조 및 복잡도 문제로 인해 과도하게 긴 데이터베이스 호출이 발생할 수 있습니다. 긴 파일 I/O 시간은 파일 서버의 문제 때문일 수 있습니다. 웹 서비스 또는 해당 웹 서비스가 상주하는 서버가 작동 중지되거나 웹 서비스 코드에 문제가 있어서 웹 서비스 성능 문제가 발생할 수 있습니다. 응용 프로그램의 긴 내부 실행 시간은 복잡하거나 비효율적인 코드 때문일 수 있습니다.

Element properties:

TargetMicrosoft.SystemCenter.Apm.ApplicationInstance
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET Apps
Counter Name\% Performance Events/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.ApplicationInstance.CollectPerformanceEventsRate" Enabled="true" Target="Microsoft.SystemCenter.Apm.ApplicationInstance" 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>% Performance Events/sec</CounterName>
<ObjectName>.NET Apps</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.ApplicationInstance"]/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>