Open finnje opened 1 year ago
I've used the docker version and it works fine for me! Maybe give Docker a try although I kinda have both variants you mentioned!
[Peer]
# friendly_name = xxx
# friendly_json={"peer_name":"xxx"}
PublicKey = xxx
PresharedKey = xxx
AllowedIPs = 10.7.0.2/32
At this point, I don't really know which of them works and I'm too scared to touch it!
Summary
I've installed
prometheus_wireguard_exporter
via cargo (version 3.6.6) on ubuntu 22.04 and addedfriendly_name
andfriendly_json
to the wireguard configs but they are not showing up in the metrics properly. Only one peer shows up.Expected outcome
The
friendly_name
andfriendly_json
key value pairs should show up in the metrics for all peers where they are defined.Exporter Version
Wireguard Peer Config
Exporter Startup
Metrics Output
Troubleshooting
I've tried:
friendly_name
andfriendly_json
interchangeably and it does dynamically change on the working peer but has no affect on the other peers.FYI, there is a typo in the above warning line. I believe it should be "Description" vs "Descrition"