title: How do I compare select all values larger than their average?
body: <p>Let's say I have the following data</p>
  
  <pre><code>my_metric{instance="0"} = 1
  my_metric{instance="1"} = 2
  my_metric{instance="2"} = 3
  </code></pre>
  
  <p>I'm interested in querying all metrics that are larger than the average of them all. <code>my_metric &gt; avg(my_metric)</code> doesn't seem to work. My guess is that it's because <code>avg(my_metric)</code> isn't a scalar, but a 1-element vector. Could anyone point me in the right direction?</p>