Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Best API to pull Flume Metrics from Ambari

Solved Go to solution

Best API to pull Flume Metrics from Ambari

Contributor

What is the best way to access the Flume metrics data via REST API which is shown in the Ambari Flume service page (image attached).

Tried to access this information via the standard Ambari REST API, however it only gave me high level information about the Flume service:

curl --user admin:admin http://sandbox234:8080/api/v1/clusters/Sandbox/services/FLUME

curl --user admin:admin http://sandbox234:8080/api/v1/clusters/Sandbox/hosts/sandbox.hortonworks.com/host_components/FLUME_H...

Should this information be available via the Ambari Metrics REST API instead?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Best API to pull Flume Metrics from Ambari

Guru

Wes - I know you are asking for REST API in your question but it seems to me that it would be better suited to pull this information using from Flume's JMX MBeans. It sounds to me like you are looking for lower level metrics like memory used, cpu, etc.

1 REPLY 1
Highlighted

Re: Best API to pull Flume Metrics from Ambari

Guru

Wes - I know you are asking for REST API in your question but it seems to me that it would be better suited to pull this information using from Flume's JMX MBeans. It sounds to me like you are looking for lower level metrics like memory used, cpu, etc.