HBASE-14583 Enabled client-side metrics by default
This commit is contained in:
parent
ced6794230
commit
dced02ad9f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue