HBASE-14583 Enabled client-side metrics by default

This commit is contained in:
Nick Dimiduk 2015-10-09 10:30:50 -07:00
parent ced6794230
commit dced02ad9f
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ class ConnectionManager {
this.rpcCallerFactory = RpcRetryingCallerFactory.instantiate(conf, interceptor, this.stats); this.rpcCallerFactory = RpcRetryingCallerFactory.instantiate(conf, interceptor, this.stats);
this.backoffPolicy = ClientBackoffPolicyFactory.create(conf); this.backoffPolicy = ClientBackoffPolicyFactory.create(conf);
this.asyncProcess = createAsyncProcess(this.conf); this.asyncProcess = createAsyncProcess(this.conf);
if (conf.getBoolean(CLIENT_SIDE_METRICS_ENABLED_KEY, false)) { if (conf.getBoolean(CLIENT_SIDE_METRICS_ENABLED_KEY, true)) {
this.metrics = new MetricsConnection(this); this.metrics = new MetricsConnection(this);
} else { } else {
this.metrics = null; this.metrics = null;