diff --git a/lib/graphite/graphiteCollector.js b/lib/graphite/graphiteCollector.js index 27de7d281..680f5855e 100644 --- a/lib/graphite/graphiteCollector.js +++ b/lib/graphite/graphiteCollector.js @@ -49,6 +49,10 @@ GraphiteCollector.prototype._getPageStats = function(page) { statistics += this._getGPSIStats(page, urlKey); statistics += this._getWPTStats(page, urlKey); statistics += this._getAssetsStats(page, urlKey); + + // and add the number of runs, lets use to divide + statistics += this.namespace + '.' + urlKey + 'config.runs ' + this.config.no + this.timeStamp; + return statistics; }; @@ -111,6 +115,8 @@ GraphiteCollector.prototype._getBrowserTimeStats = function(page, urlKey) { } }); } + + return statistics; };