cassandra-driver-3时,是否有可能从spring引导应用程序将活动范围Map到cassandra cql调用?

ryevplcw  于 2021-06-10  发布在  Cassandra
关注(0)|答案(0)|浏览(127)

我使用opentracing-cassandra-driver-3来跟踪来自spring启动应用程序的apache cassandra db调用。虽然我在jaegerui上看到了db跟踪,但是跟踪没有Map到父跨度。有办法实现吗?

QuerySpanNameProvider querySpanNameProvider = FullQuerySpanName.newBuilder().build();
    Cluster.Builder builder = Cluster.builder().addContactPoints("127.0.0.1").withPort(9042);
    Cluster cluster = new TracingCluster(builder, tracer, querySpanNameProvider);
    Session tracingSession = cluster.newSession();

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题