Classification\_- INTERNAL & PARTNERS

Hello.

I'm using the site2site status reporter task to monitor my Nifi Cluster. I'm 
collecting Input ports metrics and put them in InfluxDB.

The applicationName is always the root process group name, wherever is my input 
put, even inside a process group.

Looking at the code, it seems the name is never picked up from the process 
group:
In 
https://github.com/apache/nifi/blob/e2ca50e66a3b1a7d810ea8eac256d21bca3fd07f/nifi-nar-bundles/nifi-site-to-site-reporting-bundle/nifi-site-to-site-reporting-task/src/main/java/org/apache/nifi/reporting/SiteToSiteStatusReportingTask.java#L231
 the applicationName is never updated, always taken from the precedent call.

Maybe these 2 lines:
https://github.com/apache/nifi/blob/e2ca50e66a3b1a7d810ea8eac256d21bca3fd07f/nifi-nar-bundles/nifi-site-to-site-reporting-bundle/nifi-site-to-site-reporting-task/src/main/java/org/apache/nifi/reporting/SiteToSiteStatusReportingTask.java#L124
 and 125 should be adapted inside the serializeProcessGroupStatus method?


Thanks.

Aurélien 

This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.

Reply via email to