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 booleanCbTracing. isInternalTracer(RequestTracer tracer)Returns true if the tracer is an internal one (noop or threshold) so that particular optimizations can be applied.static RequestSpanCbTracing. 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 classNoopRequestTracerA simple NOOP implementation of the tracer, useful if tracing needs to be disabled completely.classThresholdLoggingTracerThe 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 RequestTracerCoreEnvironment. 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 SELFCoreEnvironment.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 RequestTracerPreparedStatementStrategy. requestTracer()Methods in com.couchbase.client.core.msg.query with parameters of type RequestTracer Modifier and Type Method Description QueryRequestQueryRequest. toExecuteRequest(String preparedStatementName, String encodedPlan, RequestTracer requestTracer)Returns a copy of this request tailored to execute a prepared statement.QueryRequestQueryRequest. 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
Constructors in com.couchbase.client.core.transaction with parameters of type RequestTracer Constructor Description CoreTransactionContext(RequestTracer tracer, EventBus eventBus, String transactionId, CoreMergedTransactionConfig config, CoreTransactionsCleanup cleanup) -
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 SpanWrapperSpanWrapper. create(RequestTracer tracer, String op, SpanWrapper parent)static SpanWrapperSpanWrapperUtil. createOp(CoreTransactionAttemptContext ctx, RequestTracer tracer, CollectionIdentifier collection, String id, String op, SpanWrapper attemptSpan)Constructors in com.couchbase.client.core.transaction.support with parameters of type RequestTracer Constructor Description SpanWrapper(RequestTracer tracer, RequestSpan span)
-