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!