Class GrpcWrapper

java.lang.Object
io.dapr.internal.opencensus.GrpcWrapper

public final class GrpcWrapper
extends Object
Wraps a Dapr gRPC stub with telemetry interceptor.
  • Method Details

    • intercept

      public static DaprGrpc.DaprStub intercept​(reactor.util.context.Context context, DaprGrpc.DaprStub client)
      Populates GRPC client with interceptors.
      Parameters:
      context - Reactor's context.
      client - GRPC client for Dapr.
      Returns:
      Client after adding interceptors.