Hi Sujeet, Currently, which metrics graphs to display in the service pages is hardcoded in ambari-web code. We should make it such that 1) the graphs to display are declared in the stack definition for each service and 2) ambari-web code needs to load this information and display appropriate graphs under the service page.
I have opened https://issues.apache.org/jira/browse/AMBARI-7601 to handle this. Yusaku On Wed, Oct 1, 2014 at 11:31 AM, Siddharth Wagle <swa...@hortonworks.com> wrote: > Hi Sujeet, > > The metrics.json file serves as a mapping between what is exposed by Ambari > server API and the name of the metric as it is stored by Ganglia. > (In fact the file name represents the metric name in the ganglia rrd > database) > > You would need to add your metrics to the metrics.json file and once you do > that, you should be able to query the Service Component or the Host > Component for that metric using REST API. > > The UI hook up to plot that metric is something UI devs can comment on. > > -Sid > > On Wed, Oct 1, 2014 at 11:25 AM, Sujeet Varakhedi <svarakh...@pivotal.io> > wrote: > > > Hi all, > > For the new HAWQ stack definition I am able publish metrics to Ganglia > via > > gmond python plugins and via gmetrics tool running inside a cron job. I > can > > see those metrics on the Ganglia web UI. (http://agent1/ganglia) > > Now, I am trying to get metrics rendered on the Amabri UI (Summary page > if > > possible). What is the mechanism to enable that? Also what is role of > > metrics.json file in process? > > > > Thanks > > Sujeet > > > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.