Feed Apache Samza metrics into Prometheus
This blog post from Digital Ocean explains how to setup Prometheus, the node exporter and Grafana.
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
sudo pip3 install .
And then run samza-prometheus-exporter
To install the package in editable development mode:
sudo pip3 install -e .
This project is heavily based on prometheus-es-exporter