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:20:00 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Burgess updated NIFI-7017:
-------------------------------
    Status: Patch Available  (was: In Progress)

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)