<mdlayher>
question: the existing Prometheus WireGuard exporter packaged in NixOS does some weird and unidiomatic things with metrics output, and also relies on shelling out to the wg(8) CLI tool to do its work. i have authored a more idiomatic one that uses the native interfaces for all implementations via the official Go library (which I authored).
<mdlayher>
at the moment i have packaged my own version of the exporter locally for my use, but would it be appropriate to propose adding it upstream in some way?
<mdlayher>
since there is already services.prometheus.exporters.wireguard though, i'm not sure what my options are.
<gchristensen>
how incompatible is the output?
<mdlayher>
very. the existing one exposes lots of labels on each metric (resulting in high cardinality) and mine goes more along with the usual best practices by requiring a bit of PromQL to piece things together as needed and cause less time series churn
<gchristensen>
I think it is okay to just replace it and have release notes saying the output changed, and maybe explain how to derive the current metrics from the new metrics (and the thinsg you can't do anymore)
<mdlayher>
gotcha! i will do a bit of prep work and hopefully have something posted in a day or two. I'll ping you on the PR