[
https://issues.apache.org/jira/browse/NIFI-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089975#comment-16089975
]
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_r127741006
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java
---
@@ -2867,6 +2867,7 @@ private ProcessorStatus getProcessorStatus(final
RepositoryStatusReport report,
status.setFlowFilesSent(entry.getFlowFilesSent());
status.setBytesSent(entry.getBytesSent());
status.setFlowFilesRemoved(entry.getFlowFilesRemoved());
+ status.setCounters(entry.getCounters());
--- End diff --
This should be done conditionally based on `isProcessorAuthorized`. When
captured for status history purposes that `Predicate` will always result in
`true`.
> 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)