Created 08-03-2016 07:49 PM
I need to access the Ambari Metrics Data (Embedded) {In embedded mode, the Collector will capture and write metrics to the local file system on the host where the Collector is running} - What is the location where the files are written in HDFS? How to read the Aggregate data? I want to generate a report through Excel on using the Ambari Metrics Data in Aggregated Metrics Tables. Is it feasible? Please advice.
Created 08-03-2016 08:08 PM
In embedded mode, the Collector will capture and write metrics to the local file system on the host where the Collector is running, not HDFS. As well, all the Collector runs in a single process on that host.
If you are interested where the files, you could open your Ambari http://hostname:8080/#/main/services/AMBARI_METRICS/configs
and check the general configs for Amabari Metrics. Usually, they go to: /var/log/ambari-metrics-collector
I would suggest to use the existent API and a GET command looks like this:
GET http://<ambari-metrics-collector>:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.F...
More details here: https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification
Created 08-03-2016 07:58 PM
I think you should be able to use the Metrics Collector API. Did you try this?
https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification
Created 08-03-2016 08:08 PM
In embedded mode, the Collector will capture and write metrics to the local file system on the host where the Collector is running, not HDFS. As well, all the Collector runs in a single process on that host.
If you are interested where the files, you could open your Ambari http://hostname:8080/#/main/services/AMBARI_METRICS/configs
and check the general configs for Amabari Metrics. Usually, they go to: /var/log/ambari-metrics-collector
I would suggest to use the existent API and a GET command looks like this:
GET http://<ambari-metrics-collector>:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.F...
More details here: https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification
Created 07-27-2017 03:53 AM
how to Access / Read the Embedded Ambari Metrics Collector Data by phoenix not the restAPI@mqureshi