@Stability.Internal public interface GrpcAwareRequestTracer
| Modifier and Type | Method and Description |
|---|---|
AutoCloseable |
activateSpan(RequestSpan span)
Puts `span` into ThreadLocalStorage, ready to be picked up by libraries that rely on that mechanism and can't be passed the span explicitly.
|
void |
registerGrpc(com.couchbase.client.core.deps.io.grpc.ManagedChannelBuilder<?> builder)
Setup GRPC instrumentation on a given GRPC channel.
|
void registerGrpc(com.couchbase.client.core.deps.io.grpc.ManagedChannelBuilder<?> builder)
AutoCloseable activateSpan(RequestSpan span)
We require this as asynchronous mechanisms such as reactive and CompletableFuture do not play well with ThreadLocalStorage.
Copyright © 2024 Couchbase, Inc.. All rights reserved.