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




Reply via email to