Remove thrift client stats module
Stats provided by ThriftClientStatsModule appear to be not very useful,
especially given that we now have a number of stats populated by
Thrift connector itself.
@@ -21,7 +21,6 @@ import com.facebook.presto.spi.connector.ConnectorFactory;
import com.facebook.presto.spi.type.TypeManager;
import com.facebook.swift.codec.guice.ThriftCodecModule;
import com.facebook.swift.service.guice.ThriftClientModule;
-import com.facebook.swift.service.guice.ThriftClientStatsModule;
import com.google.inject.Injector;
import com.google.inject.Module;
import io.airlift.bootstrap.Bootstrap;
@@ -69,7 +68,6 @@ public class ThriftConnectorFactory
new MBeanModule(),
new ThriftCodecModule(),
new ThriftClientModule(),
- new ThriftClientStatsModule(),
binder -> {
binder.bind(MBeanServer.class).toInstance(new RebindSafeMBeanServer(getPlatformMBeanServer()));
binder.bind(TypeManager.class).toInstance(context.getTypeManager());
