Compare commits

..

No commits in common. "6039da8bd554322971bcee08e28bec95235570f6" and "38f68fba1af501d189dbf485adec7eda008b0d63" have entirely different histories.

3 changed files with 1 additions and 9 deletions

View File

@ -17,8 +17,6 @@ class Metrics {
(EXPIRY + INTERVAL)); (EXPIRY + INTERVAL));
this._validSites = validSites; this._validSites = validSites;
this._internalStart = internalStart; this._internalStart = internalStart;
console.log('\n\nREDIS CONFIG:', redisConfig, '\n\n');
} }
/** /**
@ -29,7 +27,6 @@ class Metrics {
* @return {undefined} * @return {undefined}
*/ */
_queryStats(ops, site, cb) { _queryStats(ops, site, cb) {
console.log('IN QUERYSTATS')
return async.map(ops, (op, done) => { return async.map(ops, (op, done) => {
if (site === 'all') { if (site === 'all') {
const queryString = `*:${op}:*`; const queryString = `*:${op}:*`;
@ -50,8 +47,6 @@ class Metrics {
}); });
const reducedKeys = [...new Set(allKeys)]; const reducedKeys = [...new Set(allKeys)];
console.log(reducedKeys)
return this._statsClient.getAllStats(this._logger, return this._statsClient.getAllStats(this._logger,
reducedKeys, done); reducedKeys, done);
}); });
@ -67,7 +62,6 @@ class Metrics {
}); });
} }
const queryString = `${site}:${op}`; const queryString = `${site}:${op}`;
console.log(queryString)
return this._statsClient.getStats(this._logger, queryString, done); return this._statsClient.getStats(this._logger, queryString, done);
}, cb); }, cb);
} }

View File

@ -169,8 +169,6 @@ class StatsClient {
req500sKeys.push(['get', this._buildKey(`${id}:500s`, d)]); req500sKeys.push(['get', this._buildKey(`${id}:500s`, d)]);
this._setPrevInterval(d); this._setPrevInterval(d);
} }
console.log('STATSCLIENT:', reqsKeys);
return async.parallel([ return async.parallel([
next => this._redis.batch(reqsKeys, next), next => this._redis.batch(reqsKeys, next),
next => this._redis.batch(req500sKeys, next), next => this._redis.batch(req500sKeys, next),

View File

@ -3,7 +3,7 @@
"engines": { "engines": {
"node": ">=6.9.5" "node": ">=6.9.5"
}, },
"version": "8.2.6", "version": "8.0.0",
"description": "Common utilities for the S3 project components", "description": "Common utilities for the S3 project components",
"main": "index.js", "main": "index.js",
"repository": { "repository": {