Interface GrpcAwareRequestTracer
-
Method Summary
Modifier and TypeMethodDescriptionactivateSpan
(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.
-
Method Details
-
registerGrpc
void registerGrpc(com.couchbase.client.core.deps.io.grpc.ManagedChannelBuilder<?> builder) Setup GRPC instrumentation on a given GRPC channel. -
activateSpan
Puts `span` into ThreadLocalStorage, ready to be picked up by libraries that rely on that mechanism and can't be passed the span explicitly.We require this as asynchronous mechanisms such as reactive and CompletableFuture do not play well with ThreadLocalStorage.
-