ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddharth Wagle <swa...@hortonworks.com>
Subject Re: custom metrics - tomcat
Date Tue, 29 Nov 2016 17:37:52 GMT
API to POST metrics to AMS:

https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification


You can query metadata API to check if metrics are written to the Collector with this API:

http://<metrics-collector-host>:6188/ws/v1/timeline/metrics/metadata


Grafana UI's are driven by metadata API and no additional wiring up is required.


Ambari service dashboards however require more overhead of defining metrics.json and widgets.json
for your service. Here are the links for both:

https://cwiki.apache.org/confluence/display/AMBARI/Stack+Defined+Metrics

https://cwiki.apache.org/confluence/display/AMBARI/Enhanced+Service+Dashboard


BR,

Sid


________________________________
From: Satyanarayana Jampa <sjampa@innominds.com>
Sent: Tuesday, November 29, 2016 3:33 AM
To: user@ambari.apache.org
Subject: custom metrics - tomcat

Hi,
                I have a custom service in Ambari which contains tomcat server.
                I would like to create  metrics for the tomcat server like number of requests
coming in and memory usage.
                Could someone point me to the right doc or steps.

Thanks,
Satya.


Mime
View raw message