burrow_exporter

command module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

README

burrow-exporter

A simple prometheus exporter for gathering Kafka consumer group info from burrow.

Run with Docker

required environment variables
BURROW_ADDR

A burrow address is required. Default: http://localhost:8000

METRICS_ADDR

An address to run prometheus on is required. Default: 0.0.0.0:8080

INTERVAL

A scrape interval is required. Default: 30

API_VERSION

Burrow API version to leverage (default: 2)

Example
# build docker image
docker build -t burrow_exporter .

# with env variables
docker run -d -p 8080:8080 \
  -e BURROW_ADDR="http://localhost:8000" \
  -e METRICS_ADDR="0.0.0.0:8080" \
  -e INTERVAL="30" \
  -e API_VERSION="2" \
  burrow_exporter
# with custom command
docker run -d -p 8080:8080 burrow_exporter ./burrow-exporter --burrow-addr http://localhost:8000 --metrics-addr 0.0.0.0:8080 --interval 30 --api-version 2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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