A prometheus exporter for fastd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Paul Maruhn fbefab76df
update service file
7 months ago
assets update service file 7 months ago
src support multiple fastd daemons 7 months ago
.gitignore update gitignore 7 months ago
.gitlab-ci.yml init commit 1 year ago
.rustfmt.toml support multiple fastd daemons 7 months ago
Cargo.lock support multiple fastd daemons 7 months ago
Cargo.toml fix debian package 7 months ago
LICENSE init commit 1 year ago
README.md update readme 1 year ago

README.md

Fastd exporter for prometheus

Building

cargo build --release to build the project. The binary is then located in target/release/fastd-exporter-rust.

To build a .debian package install cargo-deb with cargo install cargo-deb and run cargo deb to build the package. The package is then, depending on the version, located in target/debian/fastd-exporter-rust_<version>_amd64.deb

Running

Just run ./fastd-exporter-rust -i <interface> or ./fastd-exporter-rust -s <socket>. When using -i <interafce> the socket is expected to be at /var/run/fastd.<interface>.sock.

The http listen address is currently hardcoded to 0.0.0.0:9101.

Todo