Modifier and Type | Method and Description |
---|---|
protected RequestTracer |
PreparedStatementStrategy.requestTracer() |
Modifier and Type | Method and 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`.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
RequestTracer |
CoreEnvironment.requestTracer()
Returns the request tracer for response time observability.
|
Modifier and Type | Method and Description |
---|---|
SELF |
CoreEnvironment.Builder.requestTracer(RequestTracer requestTracer)
Allows to configure a custom tracer implementation.
|
Constructor and Description |
---|
CoreCollectionQueryIndexManager(CoreQueryOps queryOps,
RequestTracer requestTracer,
CoreKeyspace collection) |
CoreQueryIndexManager(CoreQueryOps queryOps,
RequestTracer requestTracer) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static AutoCloseable |
ProtostellarUtil.activateSpan(Optional<RequestSpan> parentSpan,
RequestSpan span,
RequestTracer tracer) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.