burrow_exporter

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

README

Prometheus Burrow Exporter

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL