You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by "Xuefeng Zhang -X (xuefzhan - Huiji at Cisco)" <xu...@cisco.com> on 2017/06/06 02:42:37 UTC

Which RestAPI can provide the throughput of a nifi cluster?

Hi dev:
                I am doing some research about nifi RestAPI ,and I got a requirement to acquire the throughput of a nifi cluster in last five minutes, so I am help to ask you for help ,thank you

Re: Which RestAPI can provide the throughput of a nifi cluster?

Posted by Koji Kawamura <ij...@gmail.com>.
Hello,

Throughput of a NiFi cluster can mean variety of things. Do you find
NiFi's "summary" page useful? It can be accessed from the hamburger
icon at right top corner. It provides stats for example In/Out size or
Read/Write for each Processor, Input/Output port, ProcessGroups ...
etc for the last five minutes

Those stats can be retrieved via REST api, e.g. for ProcessGroup:
http://localhost:8080/nifi-api/flow/process-groups/root/status?recursive=true

I also recommend to use browser's Developer Tools to inspect which
REST endpoint NiFi UI uses.
And here is the NiFi REST API documentation (I believe you already
took a look but just in case):
https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

Thanks,
Koji

On Tue, Jun 6, 2017 at 11:42 AM, Xuefeng Zhang -X (xuefzhan - Huiji at
Cisco) <xu...@cisco.com> wrote:
> Hi dev:
>                 I am doing some research about nifi RestAPI ,and I got a requirement to acquire the throughput of a nifi cluster in last five minutes, so I am help to ask you for help ,thank you