Class CbTracing

java.lang.Object
com.couchbase.client.core.cnc.CbTracing

@Internal
public class CbTracing
extends Object
  • Method Details

    • newSpan

      public static RequestSpan newSpan​(CoreContext coreContext, String spanName, RequestSpan parent)
      Returns a new span with the `db.system` attribute set to `couchbase`.
      Parameters:
      parent - (nullable)
    • newSpan

      public static RequestSpan newSpan​(RequestTracer tracer, String spanName, RequestSpan parent)
      Returns a new span with the `db.system` attribute set to `couchbase`.
      Parameters:
      parent - (nullable)
    • getTracingId

      public static String getTracingId​(ServiceType serviceType)