Try: label_replace(lldpLocPortDesc, "ifIndex", "$1", "lldpLocPortNum", "(.+)")
If that works, then you should be able to build a query on top of this which uses (instance, ifIndex) as the join labels. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/b5b039a6-8533-4d62-ab7e-0eca2ee15adco%40googlegroups.com.

