Prometheus Exporter for the Kafka Burrow service.

Clone this repo:
  1. 65ce76d Merge pull request #14 from kanga333/update-readme-for-v3 by Justin Gallardo · 6 years ago master
  2. 0e69a7f Add explanation of api-version to README by kanga333 · 6 years ago
  3. d39a273 Make dockerfile correspond to api-version by kanga333 · 6 years ago
  4. af62c34 Merge pull request #12 from jrnt30/v3-support by Justin Gallardo · 6 years ago
  5. 7addc0e Adjusting API version support to be backwards compatible by Justin Nauman · 6 years ago

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 burrow_exporter -p 8080:8080 ./burrow-exporter --burrow-addr http://localhost:8000 --metrics-addr 0.0.0.0:8080 --interval 30 --api-version 2