DataLink url without port

Hey Community,

with the close issue #24092 I’m still running in the following problem.

I would like to link via data links to another application running on the same same server as grafana but on a different port.
I couldn’t find a solution to get the hostname in data links dynamicly. Are there any suggestions how to solve this?

I’m using Grafana 8.2.5 and 8.3_beta.
I found the following old solution that wouldn’t work anymore:

Thank’s for your help and suggestions!