Class CbTracing

    • Method Detail

      • 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)