title: Graphite - use multiple series with DivideSeries
body: <p>I'm trying to use Graphite to compute a CTR for all my resources, so I tried recording my data like this:</p>
  
  <ul>
  <li>ctr.resource_id.clicks</li>
  <li>ctr.resource_id.reach</li>
  </ul>
  
  <p>So first, I made my query :</p>
  
  <pre><code>&amp;target= averageSeries(divideSeries(ctr.176983011340976128.clicks,ctr.176983011340976128.reach),divideSeries(ctr.190348137012011008.clicks,ctr.190348137012011008.reach))
  </code></pre>
  
  <p>My problem here is that I don't want to send all my resource ids to graphite, so I tried :</p>
  
  <pre><code>&amp;target= averageSeries(divideSeries(ctr.*.clicks,ctr.*.reach))
  </code></pre>
  
  <p>But yeah, as the <a href="http://graphite.readthedocs.org/en/1.0/functions.html#graphite.render.functions.divideSeries" rel="nofollow">documentation</a> says "<em>ValueError: divideSeries second argument must reference exactly 1 series</em>".</p>
  
  <p>I tried an alternative architecture :</p>
  
  <ul>
  <li>ctr.clicks.resource_id</li>
  <li>ctr.reach.resource_id</li>
  </ul>
  
  <p>But same problem…</p>
  
  <p>I'm new with Graphite, so if anyone has a solution, it will be amazing!</p>
  
  <p>Edit:</p>
  
  <p>Just saw the function <a href="http://graphite.readthedocs.org/en/1.0/functions.html#graphite.render.functions.groupByNode" rel="nofollow">groupByNode</a>, trying to use it…</p>