Closed guyellen closed 2 years ago
This is something I had partially implemented but forgotten to complete :-) I'll finish it in the following weeks. https://github.com/syepes/network_exporter/blob/master/config/config.go#L45
Would be great to have this feature. I would like to replace blackbox exporter with Network Exporter, but need to have this feature as we reference devices back to a unique host name and not the IP for monitoring purposes.
Looking forward to this feature, may I ask when this feature will be available?
Last time I tried it was a bit more complex, I need to review how it could be done without changing everything :-)
Finally found some time to implement the target label support. https://github.com/syepes/network_exporter/releases/tag/1.5.0
It would be great if we can add static labels for each target to enrich metadata:
for example:
targets: