mapr.rm.<value> Metrics The YARN application metrics that are collected by JMX have the metric name syntax
mapr.rm.<metric_name> and the metric values are aggregated among all
the queues in the default queue. However, you can configure collectd to create a filter for
each queue. As an alternative, you can use the REST API queue metrics
(mapr.rm_queue.<metric_name>) which are by default set up for
filtering by queue.
To configure collectd to create queue filters for mapr.rm.* metrics,
define each queue that you want to create filters for in the
/opt/mapr/collectd/collectd-<version>/etc/collectd.conf
file. You can configure collectd to generate filters for every queue or only for
specific queues. Changes that you make to the collectd.conf file only apply to
metrics collected after you restart the collectd service.
alpha , beta (child of alpha), and
highpriority (child of root):
<MBean "QueueMetrics">
ObjectName "Hadoop:service=ResourceManager,name=QueueMetrics,q0=root q1=alpha"
InstancePrefix "rm"
<Value "AppsRunning">
Type "apps_running"
InstancePrefix "alpha"
</Value>
<Value "ActiveApplications">
Type "active_applications"
InstancePrefix "alpha"
</Value>
...
<Value "ReservedVCores">
Type "reserved_vcores"
InstancePrefix "alpha"
</Value>
</MBean>
<MBean "QueueMetrics">
ObjectName "Hadoop:service=ResourceManager,name=QueueMetrics,q0=root q1=alpha q2=beta"
InstancePrefix "rm"
<Value "AppsRunning">
Type "apps_running"
InstancePrefix "beta"
</Value>
<Value "ActiveApplications">
Type "active_applications"
InstancePrefix "beta"
</Value>
...
<Value "ReservedVCores">
Type "reserved_vcores"
InstancePrefix "beta"
</Value>
</MBean>
<MBean "QueueMetrics">
ObjectName "Hadoop:service=ResourceManager,name=QueueMetrics,q0=root q1=highpriority"
InstancePrefix "rm"
<Value "AppsRunning">
Type "apps_running"
InstancePrefix "highpriority"
</Value>
<Value "ActiveApplications">
Type "active_applications"
InstancePrefix "highpriority"
</Value>
...
<Value "ReservedVCores">
Type "reserved_vcores"
InstancePrefix "highpriority"
</Value>
</MBean>