HBASE-14583 Enabled client-side metrics by default

This commit is contained in:
Nick Dimiduk 2015-10-09 10:17:56 -07:00
parent 79607bd9f8
commit c7efd14726
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class ConnectionImplementation implements ClusterConnection, Closeable {
this.rpcCallerFactory = RpcRetryingCallerFactory.instantiate(conf, interceptor, this.stats);
this.backoffPolicy = ClientBackoffPolicyFactory.create(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);
} else {
this.metrics = null;