Collect Allocated Memory

Microsoft.HDInsight.PerformanceRule.ResourceManagerAllocatedMemory (Rule)

This rule collects allocated memory in MBs.

Knowledge Base article:

Summary

Collects number of allocated memory in MBs.

Element properties:

TargetMicrosoft.HDInsight.ClusterService.Yarn
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.HDInsight.Module.YarnServiceMetricsPerformanceDataSource Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.HDInsight.PerformanceRule.ResourceManagerAllocatedMemory" Target="Microsoft.HDInsight.ClusterService.Yarn" Enabled="true" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.HDInsight.Module.YarnServiceMetricsPerformanceDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<PropertyName>yarn.allocatedmb</PropertyName>
<CounterName>Allocated MB</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>