Skip to content

Profitek/rc-nifi-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NiFi Exporter

Prometheus exporter for Nifi metrics written in python
Data is scraped by prometheus.

Installation

Docker

Run the following to build the image using docker

  docker build -t nifi_monitor .

Run the following to run the exporter

  docker run --rm --name nifi_monitor -p 9092:5000 -e BASE_URL=[HOST:PORT] nifi_monitor

As alternative, run the following to build the image using Docker-compose

  docker-compose up -d --build

Configuration

nifi_exporter uses environment variables for configuration. Settings:

Environment variable default description
BASE_URL None Use the following format https:// :
USERNAME None Please make sure you have the relevant policies
PASSWORD None

Metrics

All metrics are prefixed with "nifi_".

Nodes

metric description
nifi_nodes_status General status per node
nifi_node_activeThreadCount Active Thread Count
nifi_node_queuedItems Each node queued items

Cluster

metric description
nifi_cluster_activeThreadCount
nifi_cluster_terminatedThreadCount
nifi_cluster_flowFilesQueued
nifi_cluster_bytesQueued
nifi_cluster_runningCount
nifi_cluster_stoppedCount
nifi_cluster_invalidCount

Processor

metric description
nifi_amount_items_queued Count the number of queued files per PG

Grafana Dashboard

Grafana Dashboard ID: 11387, name: NiFi Monitoring.
For details of the dashboard please see NiFi Monitoring.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.7%
  • Dockerfile 4.3%