Rule for Process GC Time

Microsoft.LS.2013.Monitoring.Rule.ReportingPC.Common.Process.GCTime (Rule)

Knowledge Base article:

Summary

This rule collects critical server metrics related to the amount of time that the garbage collector is using to free system resources for each managed Lync service.

Element properties:

TargetMicrosoft.LS.2013.Component.Common
CategoryPerformanceCollection
EnabledTrue
Instance Name.NET CLR Memory
Counter Name\% Time in GC
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
CollectPerfCounter DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.LS.2013.Monitoring.Rule.ReportingPC.Common.Process.GCTime" Enabled="true" Target="Microsoft.LS.2013.Component.Common">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="CollectPerfCounter" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Time in GC</CounterName>
<ObjectName>.NET CLR Memory</ObjectName>
<InstanceName>_Global_</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>