[ https://issues.apache.org/jira/browse/NIFI-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess reassigned NIFI-7017: ---------------------------------- Assignee: Matt Burgess > PrometheusReportingTask does not report nested process group status > ------------------------------------------------------------------- > > Key: NIFI-7017 > URL: https://issues.apache.org/jira/browse/NIFI-7017 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Reporter: Matt Burgess > Assignee: Matt Burgess > Priority: Major > > The clear() command added in NIFI-6715 causes the registry to be reset on > every call to createNiFiMetrics. In the case of nested process groups this > method is a recursive call, so the registry keeps getting cleared except for > the last visited process group. > The clear() should only be done when createNiFiMetrics is called on the root > process group, in order to clean up the registry before adding all the > components' metrics. -- This message was sent by Atlassian Jira (v8.3.4#803005)