MindFlavor / prometheus_wireguard_exporter

A Prometheus exporter for WireGuard, written in Rust.
https://mindflavor.github.io/prometheus_wireguard_exporter
MIT License
463 stars 49 forks source link

Fix binary releases, add RC service example #116

Open Kariton opened 8 months ago

Kariton commented 8 months ago

~I have no clue how GitHub actions work and how i could make a release in my fork. But the artifacts are there and working (at least FreeBSD).~

fixes https://github.com/MindFlavor/prometheus_wireguard_exporter/issues/59 closes https://github.com/MindFlavor/prometheus_wireguard_exporter/pull/91 resolves https://github.com/MindFlavor/prometheus_wireguard_exporter/pull/117 resolves https://github.com/MindFlavor/prometheus_wireguard_exporter/pull/118 resolves https://github.com/MindFlavor/prometheus_wireguard_exporter/pull/119

p.s.: I still have no clue about github actions. but it works :) see https://github.com/Kariton/prometheus_wireguard_exporter/releases/tag/v3.6.6

Kariton commented 8 months ago

The initially documented "adduser" command created an user with UID > 1000 - and was unable to survive a reboot. With an ID < 1000 e.g. 518 (needs to be unused!) it works.

i choose 518 because 5180 is the default port for wireguard; there is actually no real reason. i just tried to find a package (common service user) that already uses this id and there was none

Kariton commented 8 months ago

@MindFlavor i actually managed to get it working. this will close other PRs as stated.

any chance to get this reviewed and merged?