code: protected void completeRequestSpan(final CouchbaseRequest request) {
          if (request != null && request.span() != null) {
              if (env().operationTracingEnabled()) {
                  env().tracer().scopeManager()
                      .activate(request.span(), true)
                      .close();
              }
          }
      }
docs: Helper method to complete the request span, called from child instances.
  
  @param request the corresponding request.