Within Fuusion Architect there are several visual aides to assist you when using it. The specific visual aides we will discuss here are the “Status Bar” and the “Processor/Processor Group”.
The Status Bar
The first place to look when monitoring your instance is the status bar at the top. Here you can see many different status indicators regarding the overall health of your NiFi instance.
The first icon on the bar is the Active Threads indicator. Here you will see the number of active threads running on the NiFi instance.
Next, we have the total queued data, which represents how many FlowFiles are currently queued across the currently selected flow, and how much data these flow files represent.
Next, we have 2 icons that indicate the number of “Transmitting Remote Processor Groups” and “Not Transmitting Remote Processor Groups”
Next, we have several icons that outline key statistics regarding the NiFi instance, including:
- Represents the number of components currently running
- Represents the number of components currently stopped components
- Represents the number components that are invalid (likely due to a configuration issue)
There are additional status indicators that provide visual indicators that:
Represents the number of disabled components
Represent the number of “up to date”, “Locally”, “Stale”, “Locally modified and Stale”, and “Sync failure” Versioned Process Groups
Finally, these indicators provide the ability to force a refresh, when the last refresh was performed, along with the ability to perform a search within the Architect.
Again, the Status bar provides information about the number of threads that are currently active in the flow, the amount of data that currently exists in the flow, how many Remote Process Groups exist on the canvas in each state (Transmitting, Not Transmitting), how many Processors exist on the canvas in each state (Stopped, Running, Invalid, Disabled), how many versioned Process Groups exist on the canvas in each state (Up to date, Locally modified, Stale, Locally modified and stale, Sync failure) and the timestamp at which all of this information was last refreshed. Additionally, if the instance of NiFi is clustered, the Status bar shows how many nodes are in the cluster and how many are currently connected.
Component Level Monitoring
Fuusion also provides statistics at the individual component level. Each component, whether processor or processor group, provides a great deal of data, including how much data has been processed by the component in the last 5 minutes. It also provides the number of flowfiles that have been consumed by a processor, as well as the number of flowfiles that have been produced by the processor in the last 5 minutes. By default, Fuusion will take a snapshot of these 5 minute statistics every minute, and store them for 24 hours.
You can view these statistics for each processor by right-clicking the processor, and selecting View Status History.
The default configuration of the status repository can be changed by altering the following properties in the NiFi properties file.
In addition to the statistics provided by each component, Fuusion will also notify if any issues such as warnings or errors are reported within the past 5 minutes (by default). This is called a bulletin. In the below example the GetFile processor was pointed to a blank (non-existent) directory.
You can change the log level of these bulletins from within the processor. Double-click the processor and from within the Settings tab, you can change the log level by selecting from the drop-down under bulletins.
You can view all of the bulletin errors that have occurred on the NiFi instance by selecting the Bulletin board from the Main Menu in the top right corner.
These alerts can be sorted based on message, name, component id, or group id.