use of com.palantir.atlasdb.keyvalue.cassandra.qos.QosCassandraClient in project atlasdb by palantir.
the class CassandraClientFactory method instrumentClient.
private CassandraClient instrumentClient(Client rawClient) {
CassandraClient client = new CassandraClientImpl(rawClient);
client = new ProfilingCassandraClient(client);
client = new TracingCassandraClient(client);
// TODO(ssouza): use the kvsMethodName to tag the timers.
client = AtlasDbMetrics.instrument(CassandraClient.class, client);
client = new InstrumentedCassandraClient(client, AtlasDbMetrics.getTaggedMetricRegistry());
client = new QosCassandraClient(client, qosClient);
return client;
}
Aggregations