Class CassandraClientTracing


  • public final class CassandraClientTracing
    extends java.lang.Object
    • Method Detail

      • tracing

        public brave.Tracing tracing()
      • remoteServiceName

        @Nullable
        public java.lang.String remoteServiceName()
        Used by cassandra clients to indicate the name of the destination service. Defaults to the cluster name.

        As this is endpoint-specific, it is typical to create a scoped instance of CassandraClientTracing to assign this value.

        For example:

        
         production = TracingSession.create(httpTracing.remoteServiceName("production"));
         
        See Also:
        Span.remoteEndpoint(zipkin2.Endpoint)
      • propagationEnabled

        public boolean propagationEnabled()
        When true, trace contexts will be propagated downstream based on the configured implementation.

        Warning: sometimes this can cause connection failures. As such, consider this feature experimental.