title: Grafana Templating Query Variables
body: <p>I am Setting labels in Java for my Gauge</p>
  <pre><code>static final Gauge memoryUse = Gauge.build()
          .labelNames(&quot;space&quot;, &quot;version&quot;, &quot;paneltype&quot;)
          .name(&quot;inprogress_fs_usage_bytes&quot;)
          .help(&quot;Memory used&quot;)
          .register();
  memoryUse.labels(&quot;free Space&quot;, PanelInformation.version, PanelInformation.panelType).set(this.f.getFreeSpace());
  </code></pre>
  <p>In Grafana on the other Hand I tried to make a variable that has the value of the value label , but I just can't get it to work.
  <a href="https://i.stack.imgur.com/GQTaj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GQTaj.png" alt="enter image description here" /></a></p>
  <p>Any Ideas why it doesn't work?</p>