czerwonk / junos_exporter

Exporter for devices running JunOS to use with https://prometheus.io/
MIT License
198 stars 81 forks source link

change the lacp metric name/member #188

Closed lethalwp closed 2 years ago

lethalwp commented 2 years ago

change the lacp metric name-member to aggregate-name so you can match the interface with other metrics

Since i need descriptions, i use it like this: junos_lacp_muxstate ignoring(aggregate, description, mac) group_left(description) junos_interface_up{description!~".--IGNORE-LACP.*"} != 6