Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jirwin/burrow_exporter
Prometheus exporter for burrow
https://github.com/jirwin/burrow_exporter
Last synced: about 2 months ago
JSON representation
Prometheus exporter for burrow
- Host: GitHub
- URL: https://github.com/jirwin/burrow_exporter
- Owner: jirwin
- License: apache-2.0
- Created: 2017-04-11T08:56:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T20:11:56.000Z (about 1 year ago)
- Last Synced: 2024-10-16T02:09:29.228Z (2 months ago)
- Language: Go
- Size: 1.26 MB
- Stars: 77
- Watchers: 5
- Forks: 68
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# burrow-exporter
A simple prometheus exporter for gathering Kafka consumer group info
from [burrow](https://github.com/linkedin/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
```sh
# 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 -p 8080:8080 burrow_exporter ./burrow-exporter --burrow-addr http://localhost:8000 --metrics-addr 0.0.0.0:8080 --interval 30 --api-version 2```