You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/01/14 18:07:00 UTC

[jira] [Created] (NIFI-7017) PrometheusReportingTask does not report nested process group status

Matt Burgess created NIFI-7017:
----------------------------------

             Summary: 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


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)