Hi,

On 5/29/20 11:11 AM, Donato Bagarozza wrote:
> I tried it with relabel_config, but i can`t delete the port.
It should be possible to do. What have you tried exactly?

You should be able to match on "([^:]+):\d+" and use ${1} to reference
the part without the port.

Just to confirm: You want to remove the port from the instance label of
your ingested series, right?

Kind regards,
Christian

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/1cacac56-20e0-30d4-97d6-284d5d1f83ce%40hoffmann-christian.info.

Reply via email to