Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.44 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.44 KB

pipeline status latest .deb

A prometheus exporter for fastd.

Debian package

latest .deb

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.

Building

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

Running

Simply run ./fastd-exporter-rust -s <socket>. You can export data from multiple fastd instances by repeating the -s <socket> option.