...
Name | Functionality | Interface | Implementation(s) |
---|---|---|---|
Metrics Service |
| org.apache.ambari.server.metrics.system.MetricsService | org.apache.ambari.server.metrics.system.impl.MetricsServiceImpl |
Metric Source |
| org.apache.ambari.server.metrics.system.MetricsSource | org.apache.ambari.server.metrics.system.impl.JvmMetricsSource org.apache.ambari.server.metrics.system.impl.DatabaseMetricsSource |
Metric Sink |
| org.apache.ambari.server.metrics.system.MetricsSink | org.apache.ambari.server.metrics.system.impl.AmbariMetricSinkImpl |
Configuration
...
/ Enabling
- To enable Ambari Server metrics, make sure the following config file exists during Ambari Server start/restart - /All the metrics related configuration are present in the /etc/ambari-server/conf/metrics.properties file. .
- Currently, only 2 metric sources have been implemented - JVM Metric Source and Database Metric Source.
- To add / remove a metric source to be tracked the following config needs to be modified in the metrics.properties file.
metric.sources=jvm,database - Source specific configs are discussed in the metrics source section.
...