burrow-graphite

command module
v0.0.0-...-4e12d6f Latest Latest
Warning

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

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

README

burrow-graphite

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

The source code base is from prometheus burrow-exporter and it has been adapted for graphite support.

Run with Docker

required environment variables
BURROW_ADDR

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

GRAPHITE_HOST

A graphite host to connect. Default: 192.168.99.100

GRAPHITE_PORT

Graphite port. Default: 2003

INTERVAL

A scrape interval is required. Default: 30

Example
# with env variables
docker run --add-host=dh:<burrow-ip> \
  -e BURROW_ADDR="http://dh:8000" \
  -e GRAPHITE_HOST="<graphite-server-host>" \ 
  -e GRAPHITE_PORT="2003" \
  -e INTERVAL="30" \
  <image-id>

# with custom command
docker run --add-host=dh:<burrow-ip> \ 
  <image-id> ./burrow-graphite \
  --burrow-addr http://dh:8000 \
  --graphite-host <graphite-server-host> \
  --graphite-port 2003 \
  --interval 30

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