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.

NiFi monitor garbage collection from Grafana

Solved Go to solution

NiFi monitor garbage collection from Grafana

Contributor

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: NiFi monitor garbage collection from Grafana

Hi @dhieru singh

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:

64720-screen-shot-2018-03-20-at-103057-am.png

View solution in original post

2 REPLIES 2
Highlighted

Re: NiFi monitor garbage collection from Grafana

Hi @dhieru singh

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:

64720-screen-shot-2018-03-20-at-103057-am.png

View solution in original post

Highlighted

Re: NiFi monitor garbage collection from Grafana

Contributor

@Abdelkrim Hadjidj Thanks a lot appreciate you help!

Don't have an account?
Coming from Hortonworks? Activate your account here