From a248fe5c4b2d56b3fb78bb53add3bcdbfa15fe89 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Wed, 15 Oct 2014 17:08:56 +0200 Subject: [PATCH] Prepend redis-pool in statsd key for redis-mpool status --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index e8d5ea44..4a8f269c 100755 --- a/app.js +++ b/app.js @@ -82,7 +82,7 @@ ws = CartodbWindshaft(serverOptions); if (global.statsClient) { redisPool.on('status', function(status) { - var keyPrefix = status.name + '.db' + status.db + '.'; + var keyPrefix = 'redis-pool.' + status.name + '.db' + status.db + '.'; global.statsClient.gauge(keyPrefix + 'count', status.count); global.statsClient.gauge(keyPrefix + 'unused', status.unused); global.statsClient.gauge(keyPrefix + 'waiting', status.waiting);