Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-19-2018 07:42 PM
Hi All,
Thanks a lot to this awesome community.
I have use case for which I need to monitor number of garbage collections in NiFi.
this linkks shows how to enable GC logging by bootstrap.conf change. Is there any way I can sent GC collection info thru REST API to Ambari Metric collector system?
https://community.hortonworks.com/questions/105577/nifi-how-to-turn-on-gc-logging-for-nifi.html
Thanks a lot.
Dhieru
Created on 03-20-2018 09:33 AM - edited 08-17-2019 11:43 PM
AmbariReportingTask can be used to send metric to AMS. You can see the GC metrics that it can send to AMS : https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-ambari-nar/1.5.0/org.apache.n...
In the default Grafana dashboard, the information is not used. But you can create a dashboard to show jvm.gc.runs.G1 Young Generation for example. Below a simple dashboard that show this information:
Created on 03-20-2018 09:33 AM - edited 08-17-2019 11:43 PM
AmbariReportingTask can be used to send metric to AMS. You can see the GC metrics that it can send to AMS : https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-ambari-nar/1.5.0/org.apache.n...
In the default Grafana dashboard, the information is not used. But you can create a dashboard to show jvm.gc.runs.G1 Young Generation for example. Below a simple dashboard that show this information:
Created 03-20-2018 02:24 PM
@Abdelkrim Hadjidj Thanks a lot appreciate you help!