Uses of Interface
com.couchbase.client.core.cnc.RequestTracer
-
-
Uses of RequestTracer in com.couchbase.client.core.cnc
Methods in com.couchbase.client.core.cnc with parameters of type RequestTracer Modifier and Type Method Description static boolean
CbTracing. isInternalTracer(RequestTracer tracer)
Returns true if the tracer is an internal one (noop or threshold) so that particular optimizations can be applied.static RequestSpan
CbTracing. newSpan(RequestTracer tracer, String spanName, RequestSpan parent)
Returns a new span with the `db.system` attribute set to `couchbase`. -
Uses of RequestTracer in com.couchbase.client.core.cnc.tracing
Classes in com.couchbase.client.core.cnc.tracing that implement RequestTracer Modifier and Type Class Description class
NoopRequestTracer
A simple NOOP implementation of the tracer, useful if tracing needs to be disabled completely.class
ThresholdLoggingTracer
The default tracing implementation, which tracks the top N slowest requests per service and dumps them at configurable intervals. -
Uses of RequestTracer in com.couchbase.client.core.env
Methods in com.couchbase.client.core.env that return RequestTracer Modifier and Type Method Description RequestTracer
CoreEnvironment. requestTracer()
Returns the request tracer for response time observability.Methods in com.couchbase.client.core.env with parameters of type RequestTracer Modifier and Type Method Description SELF
CoreEnvironment.Builder. requestTracer(RequestTracer requestTracer)
Allows to configure a custom tracer implementation. -
Uses of RequestTracer in com.couchbase.client.core.msg.query
Methods in com.couchbase.client.core.msg.query that return RequestTracer Modifier and Type Method Description protected RequestTracer
PreparedStatementStrategy. requestTracer()
Methods in com.couchbase.client.core.msg.query with parameters of type RequestTracer Modifier and Type Method Description QueryRequest
QueryRequest. toExecuteRequest(String preparedStatementName, String encodedPlan, RequestTracer requestTracer)
Returns a copy of this request tailored to execute a prepared statement.QueryRequest
QueryRequest. toPrepareRequest(boolean autoExecute, RequestTracer requestTracer)
Returns a new request that creates a prepared statement using this request as a template. -
Uses of RequestTracer in com.couchbase.client.core.transaction.support
Methods in com.couchbase.client.core.transaction.support with parameters of type RequestTracer Modifier and Type Method Description static SpanWrapper
SpanWrapper. create(RequestTracer tracer, String op, SpanWrapper parent)
static SpanWrapper
SpanWrapperUtil. createOp(CoreTransactionAttemptContext ctx, RequestTracer tracer, CollectionIdentifier collection, String id, String op, SpanWrapper attemptSpan)
-