A simple prometheus exporter for gathering Kafka consumer group info from burrow.
A burrow address is required. Default: https://localhost:8000
An address to run prometheus on is required. Default: 0.0.0.0:8080
A scrape interval is required. Default: 30
Burrow API version to leverage (default: 2)
# build docker image
docker build -t burrow_exporter .
# with env variables
docker run -d -p 8080:8080 \
-e BURROW_ADDR="https://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 https://localhost:8000 --metrics-addr 0.0.0.0:8080 --interval 30 --api-version 2