This rule collects data required for Space Utilization widget.
Collects data required for Space Utilization widget.
Target | Microsoft.HDInsight.ClusterService.Hdfs |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.HDInsight.Module.HdfsServiceMetricsDataSource | Default |
Mapper | ConditionDetection | Microsoft.HDInsight.Module.PropertyBagMultiplePerformanceDataMapper | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.HDInsight.PerformanceRule.WidgetSpaceUtilization" Target="Microsoft.HDInsight.ClusterService.Hdfs" Enabled="true" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.HDInsight.Module.HdfsServiceMetricsDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Microsoft.HDInsight.Module.PropertyBagMultiplePerformanceDataMapper">
<Mappings>
<Mapping>
<PropertyName>capacitytotalgb</PropertyName>
<ObjectName>HDInsight : Dashboards</ObjectName>
<CounterName>Space Utilization</CounterName>
<InstanceName>Total</InstanceName>
</Mapping>
<Mapping>
<PropertyName>capacityusedgb</PropertyName>
<ObjectName>HDInsight : Dashboards</ObjectName>
<CounterName>Space Utilization</CounterName>
<InstanceName>Used</InstanceName>
</Mapping>
<Mapping>
<PropertyName>capacityremaininggb</PropertyName>
<ObjectName>HDInsight : Dashboards</ObjectName>
<CounterName>Space Utilization</CounterName>
<InstanceName>Free</InstanceName>
</Mapping>
<Mapping>
<PropertyName>capacitynondfsusedgb</PropertyName>
<ObjectName>HDInsight : Dashboards</ObjectName>
<CounterName>Space Utilization</CounterName>
<InstanceName>Non-DFS Used</InstanceName>
</Mapping>
</Mappings>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>