Prometheus exporter for the MightyOhm Geiger Counter.
Go to file
finga 4396b9eca4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Use cargo-deb to build a Debian package
This ships also a systemd service unit and a config file for
`/etc/default`
2022-04-24 17:33:09 +02:00
.cargo Read from hardcoded serial port 2022-04-23 01:42:02 +02:00
debian Use cargo-deb to build a Debian package 2022-04-24 17:33:09 +02:00
src Add command line arguments 2022-04-23 23:24:38 +02:00
.gitignore Read from hardcoded serial port 2022-04-23 01:42:02 +02:00
.woodpecker.yml In CI pipeline also run cargo checkmate 2022-04-24 17:31:44 +02:00
Cargo.lock Add command line arguments 2022-04-23 23:24:38 +02:00
Cargo.toml Use cargo-deb to build a Debian package 2022-04-24 17:33:09 +02:00
README.md Read from hardcoded serial port 2022-04-23 01:42:02 +02:00

Exporter for the MightyOhm Geiger Counter status-badge

A Prometheus exporter for the MightyOhm Geiger Counter.

Build

Same architecture as system

To compile it for the same architecture as the build system:

cargo build --release

Cross-compile for aarch64 (recent RaspberryPi)

To cross-compile it for RaspberryPi:

PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu cargo build --target aarch64-unknown-linux-gnu --release