Skip to content

Releases: MindFlavor/prometheus_wireguard_exporter

Fixed unit tests to account for additional metric

21 Nov 09:29
2d82a9c
Compare
Choose a tag to compare
Issue/105 (#106)

* fixed tests

* updated lock

[Bugfix] Fix semver error from prometheus_exporter_base

21 Nov 08:47
56290d6
Compare
Choose a tag to compare
Fix semver error from prometheus_exporter_base (#104)

* Fixed semver error

* updated README

Support for optional `wireguard_latest_handshake_delay_seconds` metric

20 Nov 15:14
9f0eb7f
Compare
Choose a tag to compare
  • Added optional wireguard_latest_handshake_delay_seconds metric.
  • Updated deps (claps for command line parsing to version 4)

systemd-networkd's peer syntax support

29 Mar 08:28
f8222bc
Compare
Choose a tag to compare

The exporter now automatically parses the systemd-networkd's peer syntax too ([WireGuardPeer] rather than [Peer]). Thanks to mbonino for the PR (see #92).

Dependency refresh

11 Mar 16:50
61de411
Compare
Choose a tag to compare

It also fixes the clap misconfiguration preventing the use of multiple WireGuard configuration files.

Support for environment variables-based configuration

03 Nov 10:40
72d3f73
Compare
Choose a tag to compare

Breaking

🔧 As per feature request #79, not the exporter can be fully configured via environment variables. This is a breaking change so make sure to configure your startup files accordingly!!!

Bugfix

🐛 Fixed missing escaping in friendly name (double quote). #84

Support for multiple peer config files

08 Jul 09:09
9d37840
Compare
Choose a tag to compare

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

25 Mar 13:19
a07a3d0
Compare
Choose a tag to compare

This release;

  • Add support for friendly_json.
  • Updates all the references

Bugfix: comments in PublicKey and AllowedIPs no longer impact parsing

10 Jan 10:12
33c5372
Compare
Choose a tag to compare

Optional sudo before wg commands

11 Oct 18:46
512ac9e
Compare
Choose a tag to compare

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.