nifi_exporter

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

README

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

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 msiedlarek/nifi_exporter:0.2.0
Without Docker

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

curl -fLO https://github.com/msiedlarek/nifi_exporter/releases/download/v0.2.0/nifi_exporter-0.2.0.linux-amd64.tar.gz
tar -xvf nifi_exporter-0.2.0.linux-amd64.tar.gz
cd ./nifi_exporter-0.2.0.linux-amd64
./nifi_exporter /path/to/config.yml

Building

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
nifi

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL