MindFlavor / prometheus_wireguard_exporter

A Prometheus exporter for WireGuard, written in Rust.
https://mindflavor.github.io/prometheus_wireguard_exporter
MIT License
485 stars 51 forks source link

[feat request] ability to use env vars #79

Closed jr0dd closed 2 years ago

jr0dd commented 3 years ago

It would be nice to have the ability to set the cli flags with env vars

MindFlavor commented 3 years ago

Excellent idea! Should be easy using Clap.

MindFlavor commented 3 years ago

dev branch: issue/79/dev.

jr0dd commented 3 years ago

Awesome! I’ll have to test it out when I get some extra time.

MindFlavor commented 2 years ago

Done! 👍

arisudesu commented 2 years ago

Dockerfile wasn't updated accordingly. Please fix.