Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
/ burrow_exporter Public archive

A Prometheus Exporter for gathering Kafka consumer group info from Burrow

License

Notifications You must be signed in to change notification settings

shamil/burrow_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus Burrow Exporter

This repository is no longer maintained, since burrow version 1.3.4 there is native support for prometheus metrics.

A Prometheus Exporter for gathering Kafka consumer group info from Burrow.

This project is a hard-fork of jirwin/burrow_exporter.

It was largely refactored with the following changes:

  • Uses custom collector implementation, to avoid scraping periodically
  • By using custom collector, stale metrics are automatically removed from output
  • Reorganized with prometheus recommended project structure
  • Using promu tool to build project
  • Using prometheus recommended libraries for logger and flags
  • Migrated to Go modules from Glide

Usage

usage: burrow_exporter [<flags>]

Flags:
  -h, --help                  Show context-sensitive help (also try --help-long
                              and --help-man).
  -l, --web.listen-address=":8237"
                              Address to listen on for web interface and
                              telemetry.
      --web.telemetry-path="/metrics"
                              Path under which to expose metrics.
      --burrow.address="http://localhost:8000"
                              Burrow API address.
      --burrow.api-version=3  Burrow API version to leverage.
      --collector.disabled-metrics=""
                              Comma separated list of metrics to disable (one
                              of: consumer-status, partition-current-offset,
                              partition-lag, partition-max-offset,
                              partition-status, topic-partition-offset,
                              total-lag).
      --log.level="info"      Only log messages with the given severity or
                              above. Valid levels: [debug, info, warn, error,
                              fatal]
      --log.format="logger:stderr"
                              Set the log target and format. Example:
                              "logger:syslog?appname=bob&local=7" or
                              "logger:stdout?json=true"
      --version               Show application version.

Run with Docker

docker run -p 8237:8237 simenduev/burrow-exporter \
  --burrow.address http://localhost:8000