title: How can I group labels in a Prometheus query?
body: <p>If I have a metric with the following labels:</p>
  
  <pre><code>my_metric{group="group a"}  100
  my_metric{group="group b"}  100
  my_metric{group="group c"}  100
  my_metric{group="misc group a"}  1
  my_metric{group="misc group b"}  2
  my_metric{group="misc group c"}  1
  my_metric{group="misc group d"}  1
  </code></pre>
  
  <p>Is it possible to do a query or even a <code>label_replace</code> that combines the 'misc' groups together?</p>
  
  <p>(I realize that the metric cardinality needs to be improved, and I've updated the app to fix it. However it left me with this question for if I wanted to fix the metrics via a query later)</p>