It is also stack defined through widgets.json (default). In 2.1 you can create a dashboard view for yourself and save it / share it, etc.
Documentation for widgets.josn is still missing on wiki, should be there soon. BR, Sid ________________________________ From: Jayesh Thakrar <[email protected]> Sent: Wednesday, May 20, 2015 9:51 AM To: [email protected] Subject: Re: Adding configuration parameters and monitoring metrics for custom service Thanks again - that's exactly what I was looking for! And I think for the metrics display on the UI, I will need to browse through the Ambari web, right? ________________________________ From: Siddharth Wagle <[email protected]> To: "[email protected]" <[email protected]>; Jayesh Thakrar <[email protected]> Sent: Wednesday, May 20, 2015 11:45 AM Subject: Re: Adding configuration parameters and monitoring metrics for custom service Hi Jayesh, Did you look through the API docs? https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification -Sid ________________________________ From: Jayesh Thakrar <[email protected]> Sent: Wednesday, May 20, 2015 8:15 AM To: [email protected] Subject: Re: Adding configuration parameters and monitoring metrics for custom service Thank you for the link, Sid ! I had a look at that, but it does not have any details or pointers to samples on how to dump your own metrics to the Ambari Metrics subsystem. For example, my sample service is TSDB - where I have several TSDB daemons running on an Ambari cluster and I want to dump their health metrics to Ambari so that it can be displayed on the UI. I know how to extract the TSDB metrics from TSDB - but don't know how where and how to route that to the Ambari metrics collector (or montior?). And once those TSDB metrics are in Ambari, how do I show them in simple graphs in Ambari? ________________________________ From: Siddharth Wagle <[email protected]> To: User <[email protected]>; Jayesh Thakrar <[email protected]> Sent: Tuesday, May 19, 2015 6:31 PM Subject: Re: Adding configuration parameters and monitoring metrics for custom service Ambari Metrics wiki page has useful info for you: https://cwiki.apache.org/confluence/display/AMBARI/Metrics BR, Sid ________________________________ From: Jayesh Thakrar <[email protected]> Sent: Tuesday, May 19, 2015 3:01 PM To: User Subject: Adding configuration parameters and monitoring metrics for custom service The Ambari doc page https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=38571133 is very useful and I was able to add a test service. I am at the next evolution step on some pointers for adding configuration parameters and monitoring metrics. And ofcourse, the step after that would be how to expose the metrics in Ambari UI and the REST API. I did come across https://issues.apache.org/jira/browse/AMBARI-5707 and was not sure if I need to "understand" that in order to write and inject my own metrics. Any pointers? Thanks, Jayesh
