Hello,

Counters are a framework level item that allows processors to provide
counts on things whilst processing.  This functionality must be exercised
via the ProcessSession[1] within a processor's code.  To add one, you would
need to invoke the adjustCounter method in your processor.

[1]
https://github.com/apache/nifi/blob/master/nifi-api/src/main/java/org/apache/nifi/processor/ProcessSession.java#L161

On Fri, Dec 9, 2016 at 3:40 AM, bingogo1986 <[email protected]> wrote:

> hi
> I noticed 'Counter' button on top right of Nifi UI ,how to aad a specified
> counter ,thanks.
> Best regards.

Reply via email to