square / cubism

Cubism.js: A JavaScript library for time series visualization.

Home Page:https://square.github.com/cubism/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphite find method that supports groupByNode/sumSeries

syepes opened this issue · comments

Hello,

Has any one managed to use the groupByNode with the current find method?
Does anyone know if something like this would be possible?

// This is just an example
findString = 'groupByNode(carbon.agents.*.{creates,metricsReceived},2,"sumSeries")'

graphite.find(findString, function(error, results) { 
    var metrics = results.sort().map(function(i) {
      return graphite.metric(i);
    });
});