THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- All the metrics related configuration are present in the /etc/ambari-server/conf/metrics.properties file.
- 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.
Metric Sources
JVM Metrics
...
- Collects and publishes Ambari Server JVM related metrics using Codahale library.
- Metrics collected for GC, Buffers, Threads, Memory and File descriptor.
- To enable this source, add "jvm" to the metric.sources config in metrics.properties and restart Ambari Server.
Configs
Config Name | Default Value | Explanation |
---|---|---|
source.jvm.class | org.apache.ambari.server.metrics.system.impl.JvmMetricsSource | Class used to collect JVM Metrics. |
source.jvm.interval | 10 | Interval, in seconds, used to denote how often metrics should be collected. |
...