Package io.dapr.internal.opencensus
Class GrpcHelper
java.lang.Object
io.dapr.internal.opencensus.GrpcHelper
Helper to extract tracing information for gRPC calls.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
populateMetadata
(reactor.util.context.ContextView context, io.grpc.Metadata metadata) Populates GRPC client's metadata with tracing headers.
-
Method Details
-
populateMetadata
public static void populateMetadata(reactor.util.context.ContextView context, io.grpc.Metadata metadata) Populates GRPC client's metadata with tracing headers.- Parameters:
context
- Reactor's context.metadata
- GRPC client metadata to be populated.
-