Hi, colleagues!

I need your help in relable_configs: I added a new label, but it doesn't 
work with a correct regex.
 - source_labels: [instance]
        regex: '.*\/'
        replacement: 'xxx'
        target_label: store

I need to replace a part of address (label instance) to xxx, because 
Polystat Panel in Grafana can't display full name of instance because of 
length.
What am I doing wrong?
Thank you in advance!

-- 
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/670472f3-ceec-4606-924f-6746cf406ef5%40googlegroups.com.

Reply via email to