Class RPCTracingHelpers


  • public final class RPCTracingHelpers
    extends java.lang.Object
    This class contains utilities to intercept RPC calls the server and client sides, as well as to track incoming requests for intra-component tracing.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.grpc.ClientInterceptor getClientInterceptor()  
      static io.grpc.ServerInterceptor getServerInterceptor​(io.pravega.common.tracing.RequestTracker requestTracker)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • REQUEST_DESCRIPTOR_CALL_OPTION

        public static final io.grpc.CallOptions.Key<java.lang.String> REQUEST_DESCRIPTOR_CALL_OPTION
      • REQUEST_ID_CALL_OPTION

        public static final io.grpc.CallOptions.Key<java.lang.String> REQUEST_ID_CALL_OPTION
    • Constructor Detail

      • RPCTracingHelpers

        public RPCTracingHelpers()
    • Method Detail

      • getClientInterceptor

        public static io.grpc.ClientInterceptor getClientInterceptor()
      • getServerInterceptor

        public static io.grpc.ServerInterceptor getServerInterceptor​(io.pravega.common.tracing.RequestTracker requestTracker)