[ 
https://issues.apache.org/jira/browse/NIFI-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089976#comment-16089976
 ] 

ASF GitHub Bot commented on NIFI-106:
-------------------------------------

Github user mcgilman commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1872#discussion_r127742238
  
    --- Diff: 
nifi-api/src/main/java/org/apache/nifi/controller/status/ProcessorStatus.java 
---
    @@ -234,6 +245,7 @@ public ProcessorStatus clone() {
             clonedObj.flowFilesRemoved = flowFilesRemoved;
             clonedObj.runStatus = runStatus;
             clonedObj.type = type;
    +        clonedObj.counters = new HashMap<>(counters);
    --- End diff --
    
    May need to protect against NPE when `counters` is null.


> Processor Counters should be included in the Status Reports
> -----------------------------------------------------------
>
>                 Key: NIFI-106
>                 URL: https://issues.apache.org/jira/browse/NIFI-106
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Assignee: Mark Payne
>            Priority: Minor
>
> This would allow a Processor's Status HIstory to show counters that were 
> maintained over time periods instead of having only a single count since 
> system start.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to