Closed psyhomb closed 4 years ago
That is a great idea. I'll work on it ASAP.
FYI these are changes I've made (fork) and I'm currently testing it in my WireGuard environment. https://github.com/psyhomb/prometheus_wireguard_exporter/commit/6439f0ada8b524439ecfe81b2e808b99969caea6
D'oh I missed your comment and replicated the same thing... :man_facepalming: Sorry!
Not a problem at all 😉 and thank you for making these changes.
It would be really nice to implement some kind of keyword that will be used to mark friendly name comment line, that way it would be possible to have multiple comments but only one with a specific keyword will be used to generate
friendly_name
label and all others will be silently ignored.Example:
I'm providing an example snippet code written in Python:
Output:
Thanks 😊