Which RestAPI can provide the throughput of a nifi cluster?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Which RestAPI can provide the throughput of a nifi cluster?

Xuefeng Zhang -X (xuefzhan - Huiji at Cisco)
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
Reply | Threaded
Open this post in threaded view
|

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

Koji Kawamura
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) <[hidden email]> 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