-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prometheus-wireguard-exporter: init at 2.0.1 #62452
prometheus-wireguard-exporter: init at 2.0.1 #62452
Conversation
cc @WilliButz |
4efe863
to
2d6e32a
Compare
After chatting with @WilliButz we decided that the use of a second peer for the wireguard testcase is probably not needed as we only check if the exporter properly retrieves metrics from the configured wireguard interface. |
2d6e32a
to
155c91e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you 👍
@GrahamcOfBorg test prometheus-exporters.wireguard |
After deploying this onto some more of my machines I realized that this exporter will break if the peer's endpoint address is an IPv6 address. I've declared this as WIP for now and try to fix it later that day. |
76c3eb7
to
a519345
Compare
Temporarily marking this as |
a519345
to
b30ce66
Compare
This is a simple exporter which exports the information provided by `wg show all dump` to prometheus. Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
b30ce66
to
bf09e6a
Compare
@GrahamcOfBorg build prometheus-wireguard-exporter |
@GrahamcOfBorg test prometheus-exporters.wireguard |
Motivation for this change
This is a simple exporter which exports the information
provided by
wg show all dump
to prometheus.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)