Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (32 loc) · 1.06 KB

README.md

File metadata and controls

38 lines (32 loc) · 1.06 KB

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 \
  --graphite-prefix <graphite-metrics-prefix> \
  --interval 30