Prepend also the app name
This commit is contained in:
parent
a248fe5c4b
commit
f72c4f28da
2
app.js
2
app.js
@ -82,7 +82,7 @@ ws = CartodbWindshaft(serverOptions);
|
||||
|
||||
if (global.statsClient) {
|
||||
redisPool.on('status', function(status) {
|
||||
var keyPrefix = 'redis-pool.' + status.name + '.db' + status.db + '.';
|
||||
var keyPrefix = 'windshaft.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);
|
||||
|
Loading…
Reference in New Issue
Block a user