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 344750b98a fix warnings 1 month ago
assets revisited this project and did some cleanup 1 month ago
src fix warnings 1 month ago
.gitignore update gitignore 10 months ago
.gitlab-ci.yml fix typo 1 month ago
.rustfmt.toml support multiple fastd daemons 10 months ago
Cargo.lock revisited this project and did some cleanup 1 month ago
Cargo.toml update cargo.toml and readme 1 month ago
LICENSE init commit 2 years ago
README.md update cargo.toml and readme 1 month ago

README.md

prometheus-fastd-exporter

pipeline status

A prometheus exporter for fastd.

Debian package

should be here. 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.