You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2026/07/03 03:13:00 UTC
[jira] [Created] (NIFI-16072) Add FlowFile Event Handling to Component Metric Reporter
David Handermann created NIFI-16072:
---------------------------------------
Summary: Add FlowFile Event Handling to Component Metric Reporter
Key: NIFI-16072
URL: https://issues.apache.org/jira/browse/NIFI-16072
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Reporter: David Handermann
Assignee: David Handermann
The {{ComponentMetricReporter}} supports extensible integration at the framework level for reporting Counters and Gauges.
Following the initial implementation added to as part of work to support Gauges as Processor Metrics, the {{ComponentMetricReporter}} should be extended to support optional handling of FlowFile Events, produced in {{ProcessSession}} implementations. This addition should be backward compatible with existing implementations of {{ComponentMetricReporter}}, having no impact on behavior when the handling method is not implemented.
In the current framework design, the {{FlowFileEventRepository}} is not part of the {{nifi-framework-api}} and is not open for extension at the framework level. The corresponding {{FlowFileEvent}} interface provides the contract, indicating counts and bytes processed, among other metrics. The {{FlowFileEvent}} interface should be renamed to align with the source and character of the events themselves, such as {{ProcessSessionEvent}}. This interface should be promoted to {{nifi-framework-api}} as part of implementing handling support in {{ComponentMetricReporter}}. With this refactoring, the {{ComponentMetricReporter}} will be capable of processing a wider set of available framework metrics. This approach promotes exporting selected metrics from the framework, as opposed to providing an alternative persistence strategy, already available through the {{StatusHistoryRepository}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)