Display label's value

Hi, I have several network deployments (4G or 5G) and I store the value in a label like this: amarisoft_exporter{deployment=“4G”}. That value changes depending on the deployment I do and I need to show that value in grafana. For that, I have the following configuration, but if I deploy 5G it doesn’t work. Is there a way to get that value and display it?
I have this configuration:

  • Metric bowser: amarisoft_exporter{deployment=“4G”}
  • Legend: {{deployment}}
    Thanks in advanced.

welcome to the :grafana: forum, @andergrbo

You should explore using the labels to fields transformation: