Friendly name for "label values" type variable

  • What Grafana version and what operating system are you using? 10.0.3 on Ubuntu

  • What are you trying to achieve?
    I’d like to have a variable for the user to select the instance IP address, using another label as the friendly name. Here is some sample data

qsysDesignName{instance="10.49.54.169",job="snmp_qsys_core",qsysDesignName="design 1"}
qsysDesignName{instance="10.49.54.233",job="snmp_qsys_core",qsysDesignName="design 2"}
  • How are you trying to achieve it?
    I created a query variable like this

  • What happened?
    The variable works as expected in templates, but the dropdown list on the dashboard shows IP addresses instead of friendly names. I tried a few regex options but I couldn’t find anything that works.