Hi Kumiko, I think you can only increment counters and report provenance events from processors, but not query counters or query provenance.
If you are in a custom processor, could have an AtomicInteger counter that increments on every onTrigger and reset when 24 hours has passed? Thanks, Bryan On Thu, Jun 2, 2016 at 10:50 AM, Kumiko Yada <[email protected]> wrote: > Could anyone help me on this? > > Thanks > Kumiko > ------------------------------ > *From:* Kumiko Yada <[email protected]> > *Sent:* Wednesday, June 1, 2016 4:22:25 PM > *To:* [email protected] > *Subject:* RE: How to access the counter and provenance Info > > > When I clicked the Data Provenance from context menu of processor, the > item history are showed the NiFi Flow Data Provenance UI. How can I get > this item list from the custom processor? > > > > Thanks > > Kumiko > > > > *From:* Kumiko Yada [mailto:[email protected]] > *Sent:* Wednesday, June 1, 2016 12:56 PM > *To:* [email protected] > *Subject:* How to access the counter and provenance Info > > > > Hello, > > > > I’d like to get the how many times custom processor run past 24 hours in > onTrigger method. How can I get this using counter or provenance Info? > > > > Thanks > > Kumiko >
