David Handermann created NIFI-15508:
---------------------------------------

             Summary: Add Record Gauge support to Standard Process Session
                 Key: NIFI-15508
                 URL: https://issues.apache.org/jira/browse/NIFI-15508
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Core Framework
            Reporter: David Handermann
            Assignee: David Handermann
             Fix For: 2.8.0


Building on the addition of the {{recordGauge}} method to the 
{{ProcessSession}} interface, the standard class should be updated with an 
initial implementation.

As an incremental approach to implementation, a new framework-level interface 
should be created to report Gauge records. This interface should form the basis 
for subsequent implementation that can support optional persistence of Gauge 
records in the framework. Naming the interface {{ComponentMetricReporter}} 
captures the general purpose, and opens the possibility for other types of 
processing metrics to be reported.

Following the pattern of other framework interfaces, the implementation should 
be configurable through an application property. The default value should be 
empty. Subsequent additions to the framework for persistent storage, similar to 
Counters, can consider additional application properties if needed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to