Documentation / Pipelines

Monitor: NiFi™ servers, pipelines and queues

Graphs of every NiFi server, each deployed pipeline and each queue.

The Monitor page has three tabs: Apache NiFi servers (this topic), Apache® Spark servers (Monitor: Apache Spark servers) and FHIR® servers (Monitor: FHIR servers). The page remembers the last tab you chose.

The suite polls every NiFi server in the background, also when nobody has the page open, and keeps the samples in memory (the last 480 per server; they are lost when the suite restarts). Each poll reads the system diagnostics, the flow status and the status of every process group, processor and connection.

Each NiFi server has one tab for the Server itself and one tab per deployed pipeline. Inside a pipeline tab:

TabShows
ServerHeap and non-heap memory, threads (total, active, daemon), load average, queued FlowFiles, FlowFile/content/provenance repository use, garbage collection time, FlowFiles in and out, and a table of the deployed pipelines (click one to open it).
SummaryQueued FlowFiles and bytes, FlowFiles in and out, data read and written, processing time and active threads of the pipeline.
QueuesPer connection: queued FlowFiles over time with FlowFiles in and out, and how full it is against NiFi's back-pressure threshold (green below 50 %, amber from 50 %, red from 80 %). The 6 busiest are shown first.
ProcessorsThree views; the page remembers the last one. Flow order: the processors as cards, in the order the data passes through them (left to right, columns for branches; funnels are skipped, loops are allowed). Each card shows the state, FlowFiles in and out, how busy the processor is and the queue waiting in front of it with how full it is. A processor that is 80 % busy or more gets an orange outline: Near capacity, or Bottleneck when the queue in front of it is half full or more. Processors inside nested process groups are listed below. Click a card for its figures, and its FlowFiles, how busy it was and its task time over the chosen period. Over time: one row per processor and a square per twenty-fourth of the chosen period, coloured by how busy it was or by FlowFiles in; orange is 80 % busy or more, hatched is stopped, red is invalid. Click a name to open it in Flow order. Table: state, FlowFiles in and out, tasks, task time, threads, data read and written.
BusyThe share of NiFi's 5-minute window that a processor spent working: its task time divided by 5 minutes for each task it may run at once (Concurrent tasks in NiFi, read with the layout of the Flow tab). A processor inside a nested process group is counted as running one task at a time.
FlowThe pipeline drawn like the NiFi canvas: processors with their state and live figures, queues on the connections with their depth and fill, and a moving dash on a connection that has had traffic. Layout Tidy (the default) arranges the processors in layers from top to bottom so that no processor or queue label overlaps, with right-angled (dogleg) connectors, one lane per connector; As placed in NiFi uses the positions from the NiFi canvas. Drag to move, Ctrl + scroll to zoom, Fit resets the view. The positions come from NiFi and are refreshed every minute; the figures follow the real-time updates.

Per server you can switch Poll this server on or off (on by default) and set the interval (15 seconds by default; 5 to 3600). Poll now takes one sample at once. These settings need the pipelines:manage permission.

Real-time updates reloads the page data every 5 seconds; switch it off to freeze the graphs and use Refresh now. Show chooses how much history the graphs cover.

Careful

NiFi reports flow counts (in, out, tasks, task time, data read and written) over a rolling window of 5 minutes, and the graphs show them as reported. A server that cannot be reached shows its error and keeps its older samples.