Uses of Interface
com.couchbase.client.core.cnc.RequestTracer
Package
Description
-
Uses of RequestTracer in com.couchbase.client.core.classic.query
Modifier and TypeMethodDescriptionprotected RequestTracer
PreparedStatementStrategy.requestTracer()
-
Uses of RequestTracer in com.couchbase.client.core.cnc
Modifier and TypeMethodDescriptionstatic 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) Deprecated. -
Uses of RequestTracer in com.couchbase.client.core.cnc.tracing
Modifier and TypeClassDescriptionclass
A simple NOOP implementation of the tracer, useful if tracing needs to be disabled completely.class
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
Modifier and TypeMethodDescriptionCoreEnvironment.requestTracer()
Returns the request tracer for response time observability.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.requestTracer
(RequestTracer requestTracer) Allows to configure a custom tracer implementation. -
Uses of RequestTracer in com.couchbase.client.core.manager
ModifierConstructorDescriptionCoreCollectionQueryIndexManager
(CoreQueryOps queryOps, RequestTracer requestTracer, CoreKeyspace collection) CoreQueryIndexManager
(CoreQueryOps queryOps, RequestTracer requestTracer) -
Uses of RequestTracer in com.couchbase.client.core.msg.query
Modifier and TypeMethodDescriptionQueryRequest.toExecuteRequest
(String preparedStatementName, String encodedPlan, RequestTracer requestTracer) Returns a copy of this request tailored to execute a prepared statement.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
Modifier and TypeMethodDescriptionstatic 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) -
Uses of RequestTracer in com.couchbase.client.core.util
Modifier and TypeMethodDescriptionstatic AutoCloseable
ProtostellarUtil.activateSpan
(Optional<RequestSpan> parentSpan, RequestSpan span, RequestTracer tracer)
requestSpan(String, RequestSpan)
, which now always sets the `db.system` attribute.