A Raspberry Pi CPU temperature exporter. - by Lukas Malkmus
The rpi_exporter is a simple server that scrapes the Raspberry Pi's CPU temperature and exports it via HTTP for Prometheus consumption.
The easiest way to run the rpi_exporter is by grabbing the latest binary from the release page.
This project uses dep for vendoring.
mkdir -p $GOPATH/src/github.com/lukasmalkmus/rpi_exporter
git clone https://github.com/lukasmalkmus/rpi_exporter.git $GOPATH/src/github.com/lukasmalkmus/rpi_exporter
cd $GOPATH/src/github.com/lukasmalkmus/rpi_exporter
go build
# or promu build
./rpi_exporter [flags]
Help on flags:
./rpi_exporter --help
Thanks to Carlos Eduardo docker images are now available for this exporter! Checkout DockerHub!
Feel free to submit PRs or to fill Issues. Every kind of help is appreciated.
© Lukas Malkmus, 2018
Distributed under Apache License (Apache License, Version 2.0
).
See LICENSE for more information.