czerwonk / junos_exporter

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

Customizable label format for interface description parser #142

Open momorientes opened 3 years ago

momorientes commented 3 years ago

Hi @czerwonk,

we really like the label approach but it sadly doesn't fit our pattern, we're using [key1=value1, key2=value2, key3]. Do you have any thoughts on making the pattern customisable? We're happy to provide code for this but wanted to ask for existing thoughts first. Any pointers? I'd assume adapting dynamic_labels.go and adding a configuration option should to the trick.