KPI scope types in Cloudera Data Flow

Key Performance Indicator (KPI) scope specifies the focus area of the KPI. You can select individual NiFi components such as a processor or connection, or larger components such as a process group or the entire flow deployment.

You can track different statistics by using the following KPI scopes:

System, All Flows

These KPIs provide information on a NiFi deployment (System) or the combined performance of all flows running on a specific deployment

Connection, Processor, Process Group
These KPIs provide information on the performance of one individual flow within a deployment.

Connection KPIs

Connection KPIs expose the metrics that NiFi provides for the connection used in the NiFi data flow. Choosing Connection allows you to set alerts based on any of the connection metrics that the data flow monitors.

Metric name: Bytes Queued
Metric unit: Bytes
Meaning: How much data is stored in a queue?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the data queued in the selected queue or connection is either more than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.
Metric name: Percent Full
Metric unit: Percentage
Meaning: How much of the queue's capacity is used?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the data queued in the selected queue or connection is either more than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.
Metric name: Flow Files Queued
Metric unit: Count
Meaning: How many flow files are queued in this connection?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles queued for the selected queue or connection is either higher than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.

Processor KPIs

Processor KPIs expose the metrics that NiFi provides for the processors. Choosing Processor allows you to set alerts based on any of the processor metrics that the data flow monitors.

Metric name: Average Lineage Duration
Metric unit: Seconds
Meaning: How much time elapsed between when the original source data was received and the time at which this processing event occurred?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the average lineage duration for all flowfiles within the specified time period is either above the upper boundary or below the lower boundary.
Metric name: Bytes In
Metric unit: Bytes
Meaning: How much data is received by the selected processor?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data received by the selected processor is either below the specified lower threshold or above the specified upper threshold for the given time period.
Metric name: Bytes Out
Metric unit: Bytes
Meaning: How much data is sent by the selected processor?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data sent by the selected processor is either below the specified lower threshold or above the specified upper threshold for the given time period.
Metric name: Bytes Queued
Metric unit: Bytes
Meaning: How much content is queued for the selected processor?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the data queued for the selected processor is either more than what is specified in the upper boundary or less than specified in the lower boundary for the given time period.
Metric name: Bytes Received
Metric unit: Bytes
Meaning: How much data is received from a source that is external to the flows?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the data received or read by the selected processor is either more than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.
Metric name: Bytes Sent
Metric unit: Bytes
Meaning: How much data is sent to an external recipient?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the data sent by the selected processor is either more than what is specified in the upper boundary or less than specified in the lower boundary for the given time period.
Metric name: Flowfiles Input to Processor
Metric unit: Count
Meaning: How many flowfiles are received from a source within the flow?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the number of flowfiles received from a source within the flow is either more than the specified in the upper boundary or less than the specified in the lower boundary for the given time period.
Metric name: Flowfiles Out from Processor
Metric unit: Count
Meaning: How many flowfiles are sent out of the processor?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the number of flowfiles sent out of the processor is either more than the specified in the upper boundary or less than the specified in the lower boundary for the given time period.
Metric name: Flowfiles Received
Metric unit: Count
Meaning: How many flowfiles are received by the selected processor from a source that is external to the flows?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles received by the selected processor is either below the specified lower threshold or above the upper threshold for the given time period.
Metric name: Flowfiles Sent
Metric unit: Count
Meaning: How many flowfiles are sent by the selected processor to an external recipient?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles sent by the selected processor is either below the specified lower threshold or above the upper threshold for the given time period.

Process Group KPIs

Process Group KPIs expose the metrics that NiFi provides for the process groups. Choosing Process Group enables you to set alerts based on any of the process group metrics that the data flow monitors.

Metric name: Bytes Queued
Metric unit: Bytes
Meaning: How much data is queued, in total, in queues of the selected process group?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data queued for the selected process group is either more than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.
Metric name: Bytes Received
Metric unit: Bytes
Meaning: How much data is received by the selected process group within the flow?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data received by the selected process group is either below the specified lower threshold or above the upper threshold for the given time period.
Metric name: Bytes Sent
Metric unit: Bytes
Meaning: How much data is sent by the selected process group within the flow?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data sent by the selected process group is either below the specified lower threshold or above the specified upper threshold for the given time period.
Metric name: Flowfiles Input
Metric unit: Count
Meaning: How many flowfiles are received by the selected process group within the flow?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles received by the selected process group is either below the specified lower threshold or above the specified upper threshold for the given time period.
Metric name: Flowfiles Out
Metric unit: Count
Meaning: How many flowfiles are sent by the selected process group within the flow?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles sent by the selected process group is either below the specified lower threshold or above the specified upper threshold for the given time period.
Metric name: Flowfiles Queued
Metric unit: Count
Meaning: How many flowfiles are queued, in total, in queues for the selected process group?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles queued for the selected process group is either higher than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.
Metric name: Flowfiles Received
Metric unit: Count
Meaning: How many flowfiles are received from a source that is external to the flow?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles received from a source that is external to the flow is either above the specified in the upper boundary or below the specified in the lower boundary.
Metric name: Flowfiles Sent
Metric unit: Count
Meaning: How many flowfiles are sent to an external recipient?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles sent to an external recipient is either above the specified in the upper boundary or below the specified in the lower boundary.

All Flow KPIs

All Flow KPIs expose the metrics that NiFi provides for all flows in a specific deployment. Choosing All Flows enables you to set alerts based on any of the flow metrics that the data flow monitors.

Data In
Metric unit: Bytes/sec
Meaning: How much data did the all flows in a deployment receive from external systems per second?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data received by all flows combined in a deployment is either below the specified lower threshold or above the upper threshold for the given time period.
Data Out
Metric unit: Bytes/sec
Meaning: How much data did all flows combined in a deployment send to external systems per second?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated data sent by all flows in the deployment combined is either below the specified lower threshold or above the upper threshold for the given time period.
Flow Files Queued
Metric unit: Count
Meaning: How many flow files are queued in all connections of the deployment?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the aggregated number of flowfiles queued for all connections on a deployment is either higher than what is specified in the upper boundary or less than what is specified in the lower boundary for the given time period.

System KPIs

System KPIs expose the metrics that NiFi provides for the system. Choosing System allows you to set alerts based on any of the system metrics that the data flow monitors.

CPU Utilization
Metric unit: Percentage
Meaning: How much of the available CPU to the entire cluster is being used by deployment?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the CPU utilization is either above the specified upper threshold or below the specified lower threshold for the given time period. For example, if the threshold is 80% and the time period is 5 minutes, all data points that are being captured within five minutes must show a higher utilization than 80%, to trigger an alert.
Core Allocation
Metric unit: Count
Meaning: How many cores are allocated?
Threshold: Upper and lower boundary
You can use this KPI to create alerts when the core allocation is either above the specified upper threshold or below the specified lower threshold for the given time period.
Memory Utilization
Metric unit: Percent
Meaning: The percentage of memory currently being used by the deployment.
Threshold: Upper and lower boundary
You can use this KPI to create alerts when memory used is either above the specified upper threshold or below the specified lower threshold for the given time period.