junos_exporter
junos_exporter copied to clipboard
enhancement request: wildcard matching on interfaces and possibly others
Hi,
It would be useful to be able to wildcard match the interfaces statistics through configuration.
I don't understand the configuration bits too well, so I will leave this to someone with better Go skills.
But this is the line that we manually change to weed out subscriber management interfaces, for example: https://github.com/czerwonk/junos_exporter/blob/d3ffd563a0b79de29eaf1472b4e3d438e758b634/interfaces/collector.go#L113
Example replacement:
show interfaces statistics detail "*-*"
Thanks again for a great project.