GitXplorerGitXplorer
m

nifi_exporter

public
32 stars
22 forks
7 issues

Commits

List of commits on branch master.
Unverified
8d96927901eb2c997ef8881a71e7abaad6400c15

Updated README.

mmsiedlarek committed 5 years ago
Unverified
2e56847830421d188808ec69d159962b65727298

Added distribution script.

mmsiedlarek committed 5 years ago
Unverified
19e93a324c0df3e296497dbe88751a40da99bc15

Fix comment typo.

mmsiedlarek committed 5 years ago
Unverified
865dfc89bbede1dda26fffa08eb929d8a6c74c26

Merge branch 'master' of github.com:msiedlarek/nifi_exporter

mmsiedlarek committed 5 years ago
Unverified
c5b4b9748377bd5c3f4896503057d23d2a46a76d

Add Dockerfile.

mmsiedlarek committed 5 years ago
Verified
729dcfb4aa74202d5a046bfb70a6f88ccdd65b80

Merge pull request #10 from sgrzemski/sgrzemski/fix-pg-scraping

mmsiedlarek committed 5 years ago

README

The README file for this repository.

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