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

Matt Burgess updated NIFI-7359:
-------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Prometheus always reports several process metrics with the root group as 
> parent
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-7359
>                 URL: https://issues.apache.org/jira/browse/NIFI-7359
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: alexandre vautier
>            Priority: Major
>             Fix For: 1.12.0
>
>   Original Estimate: 1h
>          Time Spent: 20m
>  Remaining Estimate: 40m
>
> * Create a process group A
>  * Add a process B inside A
>  * Setup the prometheus report sink
>  * Look at [http://localhost:9092|http://localhost:9092/]
>  * Some metrics on the process B have the process group A as parent, other 
> have the root process group.
> Look at file PrometheusMetricsUtil.java, the problem is between lines 441 and 
> 462 variable parentPGId is used instead of parentId. 4 metrics are ok: 
> TOTAL_BYTES_READ, TOTAL_BYTES_WRITTEN, AMOUNT_THREADS_TOTAL_ACTIVE and 
> AMOUNT_THREADS_TOTAL_TERMINATED while the others 12 are wrong.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to