Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.08 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.08 KB

samza-prometheus-exporter

Feed Apache Samza metrics into Prometheus

screenshot

Installation

This blog post from Digital Ocean explains how to setup Prometheus, the node exporter and Grafana.

Using docker

Build the docker image:

sudo docker build -t samza-prometheus-exporter:0.1.2 .

Then run it:

sudo docker run -d --name samza-prometheus-exporter -p 8080:8080 \
    -e "BROKERS=broker1:9092,broker2:9092" \
    -e "TOPIC=samza-metrics" \
    -e "PORT=8080" \
    samza-prometheus-exporter:0.1.2

Using pip3

sudo pip3 install .

And then run samza-prometheus-exporter

Hacking

To install the package in editable development mode:

sudo pip3 install -e .

Acknowledgements

This project is heavily based on prometheus-es-exporter