Class TraceServiceGrpc.TraceServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    TraceServiceGrpc

    public abstract static class TraceServiceGrpc.TraceServiceImplBase
    extends Object
    implements io.grpc.BindableService
     Service that can be used to push spans and configs between one Application
     instrumented with OpenCensus and an agent, or between an agent and a
     central collector or config service (in this case spans and configs are
     sent/received to/from multiple Applications).
     
    • Constructor Detail

      • TraceServiceImplBase

        public TraceServiceImplBase()
    • Method Detail

      • config

        public io.grpc.stub.StreamObserver<CurrentLibraryConfig> config​(io.grpc.stub.StreamObserver<UpdatedLibraryConfig> responseObserver)
         After initialization, this RPC must be kept alive for the entire life of
         the application. The agent pushes configs down to applications via a
         stream.
         
      • export

        public io.grpc.stub.StreamObserver<ExportTraceServiceRequest> export​(io.grpc.stub.StreamObserver<ExportTraceServiceResponse> responseObserver)
         For performance reasons, it is recommended to keep this RPC
         alive for the entire life of the application.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService