Skip to content

Apache NiFi cluster metrics exporter for Prometheus

License

Notifications You must be signed in to change notification settings

diarworld/nifi_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache NiFi Exporter

go report version image size

Exports metrics from Apache NiFi API in Prometheus-compatible format.

Configuration

NiFi Exporter is configured through a single YAML file. Here is the minimal configuration:

---
exporter:
  listenAddress: 127.0.0.1:9103
nodes:
  - url: http://localhost:8080
    username: xxxxxx
    password: xxxxxx

You may enable or disable some collectors using config file.

See the sample config for a full example of all available options.

Running

Using Docker

Docker image is available at Docker Hub:

docker run -p 9103:9103 -v /path/to/config.yml:/config/config.yml:ro diarworld/nifi_exporter:0.3.2

Without Docker

Download a release package for your system from Releases page, unpack it and run the binary directly:

curl -fLO https://github.com/diarworld/nifi_exporter/releases/download/v0.3.2/nifi_exporter-0.3.2.linux-amd64.tar.gz
tar -xvf nifi_exporter-0.3.2.linux-amd64.tar.gz
cd ./nifi_exporter-0.3.2.linux-amd64
./nifi_exporter /path/to/config.yml

Building

go get github.com/diarworld/nifi_exporter
cd ${GOPATH-$HOME/go}/src/github.com/diarworld/nifi_exporter
go build
./nifi_exporter

About

Apache NiFi cluster metrics exporter for Prometheus

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.6%
  • Other 1.4%