[
https://issues.apache.org/jira/browse/NIFI-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Witt updated NIFI-7017:
---------------------------
Fix Version/s: 1.11.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
+1 merged to master
> 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
> Fix For: 1.11.0
>
> Time Spent: 20m
> 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)