Richard Hartmann
Richard Hartmann
Reality is that configs are still baked by hand, both by old and new users. Basic error checking is not an anti-pattern, so re-opening.
This is not about selecting anything outside of what's in the (currently named) `walk:` section, it's merely about not silently coming up empty when a data structure does not hold...
https://docs.google.com/document/d/1McJJIiJfHgoecVrVNXx4ABJmI5M21e-6O9IgMNbVnvw
On top of logging, we should also expose this as a counter.
@SuperQ I agree with your sentiment, but I do wonder what it should be changed to. Drop the label silently? Strip down é to e? If yes, what about ☺?
@SuperQ just to deliberately think about it once.
I think all of the above could be achieved with support for a `snmp.d` or `snmp.yml.d`, no?
https://github.com/prometheus/snmp_exporter/issues/628 should cover the essence of your intention, correct?
Now that I think about it again, that makes sense. I will need to think about it some more. A mapping from `generator_fool.yml` -> `snmp_exporter_foo.yml` could make sense.
@xkilian We're discussing details on and off; the overview: generator should follow how snmp_exporter does it. snmp_exporter will follow how Prometheus does it. Prometheus will most likely use standard Go...