Releases: MindFlavor/prometheus_wireguard_exporter
Releases · MindFlavor/prometheus_wireguard_exporter
Swapped rx-tx
Bugfix
- #13 - Received and sent bytes appear to be swapped.
Export remote information behind optional flag
Multiple allowed ip/subnet support
This version addresses this issue: #8. In particular:
- Corrected a typo in the label. It was
inteface
instead ofinterface
. - Implemented support for multiple allowed ip and subnets. Two label mode are available: single, comma separated value (default) and multiple labels with an incremental number appended. The second mode can be enabled using the
-s
command line switch.
Thank you Toon Schoenmakers for the idea.
Moved boilerplate to external crate
Moved boilerplate to external crate
This allowed for more simple code
[bugfix] wrong version shown at startup
From this version the code will use the relevant clap
crate macros so it should always display the crates's version.
The code should behave as before but if you find inconsistencies please open an issue!
IPv6 support
- IPv6 support addressess (thanks to Maximilian Bosch's PR #5).
Better Prometheus compliance
This release uses _Total as suffix for counters as it should be. It also changes how the latest handshake value is returned: before it was the number of seconds since the latest handshake. Now you get the UNIX timestamp as passed by wg
. This should minimize the events written in Prometheus for non connected devices.
Changed default port to 9586
The default port had to be changed because the old one was already in use.
Friendly names support for peer names
Merge pull request #1 from MindFlavor/peer_names Friendly names support for peer names
v0.1.0 - Initial release
First public release