You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Benjamin Charron (Jira)" <ji...@apache.org> on 2020/07/08 21:27:04 UTC

[jira] [Created] (NIFI-7616) PrometheusReportingTask: Wrong number of processor active threads reported ?

Benjamin Charron created NIFI-7616:
--------------------------------------

             Summary: PrometheusReportingTask: Wrong number of processor active threads reported ?
                 Key: NIFI-7616
                 URL: https://issues.apache.org/jira/browse/NIFI-7616
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.9.2
            Reporter: Benjamin Charron


The number of _processor_ active threads reported by prometheus ("nifi_amount_threads_active") seem off.

I think "{{status.getActiveThreadCount()}}" should be "{{processorStatus.getActiveThreadCount()}}" at 
[PrometheusMetricsUtil.java:193|https://github.com/apache/nifi/blob/aa741cc5967f62c3c38c2a47e712b7faa6fe19ff/nifi-nar-bundles/nifi-extension-utils/nifi-prometheus-utils/src/main/java/org/apache/nifi/prometheus/util/PrometheusMetricsUtil.java#L193] and :194

 



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