FYI: The Ambari IRC channel is dead-ish. :)

So, according to the docs here: 

https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md 

a call such as this:
GET /clusters/c1/services/HDFS/components/DATANODE

should return a bunch of metrics including rpc, disk, cpu, etc.  I'm issuing 
this query against our Ambari server: 

http://localhost:8080/api/v1/clusters/data-torrent/services/YARN/components/YARN_CLIENT

but I'm not getting nearly as much information. I'm only getting this: 

https://gist.github.com/jkugler/db42cf9839e805606016

What is the best way to get metrics from the Ambari REST API?

Thanks!

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
[email protected] - Jabber: [email protected]
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

Reply via email to