Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Metrics Collector

Configuration Items

Configuration TypeFile pathComment
ams-site/etc/ambari-metrics-collector/conf/ams-site.xmlSettings that control the API daemon and the aggregator threads.
ams-env/etc/ambari-metrics-collector/conf/ams-env.shMemory / PATH settings for the API daemon
ams-hbase-site

/etc/ams-hbase/conf/hbase-site.xml

/etc/ambari-metrics-collector/conf/hbase-site.xml

Settings for the HBase storage used for the metrics data.
ams-hbase-env/etc/ams-hbase/conf/hbase-env.sh

Memory / PATH settings for the HBase storage.

Note: In embedded more, the heap memory setting for master and regionserver is summed up as total memory for single HBase daemon.

...

DaemonLog file path
Metrics Collector API

/var/log/ambari-metrics-collector/ambari-metrics-collector.log

/var/log/ambari-metrics-collector/ambari-metrics-collector.out

Metrics Collector HBase

/var/log/ambari-metrics-collector/hbase-ams-master-<hostname>.log

/var/log/ambari-metrics-collector/hbase-ams-master-<hostname>.out

Metrics Monitor

Configuration TypeFile pathComment
ams-env/etc/ambari-metrics-monitor/conf/ams-env.shUsed for log and pid dir modifications, this is the same configuration as above, common to both components.
metric_groups/etc/ambari-metrics-monitor/conf/metric_groups.confNot available in the UI. Used to control what HOST/SYSTEM metrics are reported.
metric_monitor/etc/ambari-metrics-monitor/conf/metric_monitor.iniNot available in the UI. Settings for the monitor daemon.

...

/var/log/ambari-metrics-monitor/ambari-metrics-monitor.out

Configuring Ambari Metrics service in distributed mode

In distributed mode, Metric Collector writes go to HDFS of the cluster. Currently distributed mode does not support multi-mode Metric Collector, however the plan is to allow Metric Collector to scale horizontally to allow a multi-node HBase storage layer.

...