Releases: MindFlavor/prometheus_wireguard_exporter
Fixed unit tests to account for additional metric
Issue/105 (#106) * fixed tests * updated lock
[Bugfix] Fix semver error from prometheus_exporter_base
Fix semver error from prometheus_exporter_base (#104) * Fixed semver error * updated README
Support for optional `wireguard_latest_handshake_delay_seconds` metric
- Added optional
wireguard_latest_handshake_delay_seconds
metric. - Updated deps (
claps
for command line parsing to version 4)
systemd-networkd's peer syntax support
Dependency refresh
It also fixes the clap
misconfiguration preventing the use of multiple WireGuard configuration files.
Support for environment variables-based configuration
Support for multiple peer config files
This release adds support for multiple peer files as proposed by Tobias Krischer in #61. Since this version is backward compatible I've just increased the lower value of the version. You should be able to replace the existing binary without loss of functionality.
This PR starts the initial support of conditional compilation of leaky logs. The actual version leaks secrets all over the place if you enable the verbose
log. The current version replaces the private key with the string **hidden**
so your logs won't include the private keys anymore. Be aware this is a incomplete change: I will hunt for all the places where the secrets are leaked in another PR.
If you want to restore the previous, leaky log, you have to recompile to enable the flag leaky_log
like this:
cargo build --features leaky_log
Generally speaking you should not need to do it but I've left the option open for troubleshooting in case of bugs.
Support for friendly_json
This release;
- Add support for
friendly_json
. - Updates all the references
Bugfix: comments in PublicKey and AllowedIPs no longer impact parsing
3.4.2 locked Cargo.lock
Optional sudo before wg commands
New options
The exporter supports prepending sudo
to the wg
command. This allows to run the exporter as a non root user (although sudoer without password). Thanks to Jonas Seydel for the idea. In order to use this, pass the -a
switch at startup time.