- CraftBeerPi3 exporter for Prometheus
- CraftBeerPi4 exporter for Prometheus
- Right now, you need the at least avollkopf/craftbeerpi4@2d55410 until this gets merged to Manuels main repo.
Based on Robust Perception's python exporter example: For more information see (https://www.robustperception.io/writing-json-exporters-in-python)
On Debian systems just execute install.sh
sudo ./install.sh
This script should work on all Debian based systems but it is only tested on Debian.
You can pass extra options for craftbeerpi_exporter to the install script. This can be helpful when unsing CraftBeerPi4
sudo ./install.sh -c 4
Note: When running the craftbeerpi_exporter on the same system as CraftBeerPi 3, no configuration is needed.
The following configuration options are available.
Option | Description | Default |
---|---|---|
-l port | Listen port of exporter | 9826 |
-a addr | Address of CraftBeerPi | 127.0.0.1 |
-p port | Port of CraftBeerPi | 5000/8000 |
-c version | Version of CraftBeerPi 3 or 4 | 3 |
Just add the options to the service file.