- source_labels: [tube]
  target_label: tube
  regex: (.*)/(.*)
  replacement: $1:$2

However you'll have to repeat this rule N times if you want to be able to 
replace up to N slashes.

-- 
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/e09ea106-b13e-44e5-9fa0-2e05d41bf8c7%40googlegroups.com.

Reply via email to