Hey guys,
I'm in the middle of something here, I'm trying to replace the "/" from the metric below but this isn't working at all.
I'm using a beanstalkd exporter, and the tubes are being listed with a "/" and it's messing up with some automations that we're using because of that forward slash, example below:
Query:
tubes_ready_total
Results:
{tube="some/simple/tube/one"}
{tube="some/simple/tube/two"}
I want to replace the "/" with a "_" if possible.
Would it be something like:
metric_relabel_configs:
- source_labels: [tube]
action: replace
target_label: tube
regex: (.+)(\/);(_)
replacement: $1:$2
Thank you.