I would like populate values for variable in templating using query (a datasource: Prometheus). I know that I can use structure like:
But I would like receive only the FQDN (without a collon and a port number) . Probably I can use for that the “Regex” field but I can’t prepare correct regex pattern.
Thank you in advance for any help.