junos_exporter icon indicating copy to clipboard operation
junos_exporter copied to clipboard

enhancement request: wildcard matching on interfaces and possibly others

Open bjornskovlund opened this issue 4 years ago • 0 comments

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.

bjornskovlund avatar Jun 24 '20 09:06 bjornskovlund