Pinpoint is an open source APM (Application Performance Management) tool for large-scale distributed systems written in Java.
Hi @Xylus . For example, to interact with cassandra(establish connection, make some queries) we use next methods from com.datastax.driver.core:
Cluster.Builder clusterBuilder = Cluster.builder()
.addContactPoints(cassandraHosts).withPort(cassandraPort)
.withLoadBalancingPolicy(new RoundRobinPolicy())
.withPoolingOptions(getPoolingOptions());
Cluster cluster = clusterBuilder.build();
Session session = cluster.connect();
PreparedStatement pstmt = session.prepare(cql);
if(isReadQuery)
pstmt.setConsistencyLevel(readConsistencyLevel);
else
pstmt.setConsistencyLevel(writeConsistencyLevel);
BoundStatement bstmt = pstmt.bind();
ResultSet resultSet = session.execute(bstmt);
List<Row> result = resultSet.all();