A prometheus exporter for fastd.
After installing it with dpgk -i prometheus-fastd-exporter.deb
you need to reload systemd: sudo systemctl daemon-relaod
.
The exporter is not enabled by default. Enable it with sudo systemctl enable prometheus-fastd-exporter
.
cargo build --release
to build the project.
The binary is located in target/release/prometheus-fastd-exporter
.
To build a debian package install cargo-deb
with cargo install cargo-deb
and run cargo deb
.
The package is then, depending on the version, located in target/debian/fastd-exporter-rust_<version>_amd64.deb
Simply run ./fastd-exporter-rust -s <socket>
. You can export data from multiple fastd instances by repeating the -s <socket>
option.