Package com.couchbase.client.core.cnc
Class CbTracing
java.lang.Object
com.couchbase.client.core.cnc.CbTracing
@Internal public class CbTracing extends Object
-
Method Summary
Modifier and Type Method Description static String
getTracingId(ServiceType serviceType)
static RequestSpan
newSpan(RequestTracer tracer, String spanName, RequestSpan parent)
Returns a new span with the `db.system` attribute set to `couchbase`.static RequestSpan
newSpan(CoreContext coreContext, String spanName, RequestSpan parent)
Returns a new span with the `db.system` attribute set to `couchbase`.
-
Method Details
-
newSpan
Returns a new span with the `db.system` attribute set to `couchbase`.- Parameters:
parent
- (nullable)
-
newSpan
Returns a new span with the `db.system` attribute set to `couchbase`.- Parameters:
parent
- (nullable)
-
getTracingId
-