 application = config.get 'application'
 os = require "os"
 domain = os.hostname() + '.' + application.name
+domain = "statsd-VirtualBox.Development"
 statsd_server = config.get 'statsd'
 Q = require "q"
 request = require 'koa-request'

  var render_url = "/render?target=transformNull(summarize(stats.counters." + domain + ".Channels." + channelId
  if (type == 'status'){
      var obj = {};
    _.forEach(status_array, function (status) {
      path = render_url + '.' + status + ".count,'1day'))&from=-1weeks&format=json";
      obj[status] =  function *() {
       return yield fetchData(path);
      }
      data.push(obj);
    })

  } else {

    var path = render_url + ".count,'1day'))&from=-1weeks&format=json";
        path += "&target=transformNull(summarize(stats.timers." + domain + ".Channels." + channelId + ".mean,'1day'))";
    var raw = yield fetchData(path);
    var i = 0;
    _.forEach(raw.data, function (item) {

  }

  if (info[1]) {
    console.log(JSON.stringify(info[1]));
    console.log(JSON.stringify(options));
    data.data1 = info[1].datapoints
  }
  return data;
