/burrow_exporter

Prometheus exporter for burrow

Primary LanguageGoApache License 2.0Apache-2.0

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

Example

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