Class TraceServiceGrpc.TraceServiceImplBase
- java.lang.Object
-
- io.opencensus.proto.agent.trace.v1.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 Summary
Constructors Constructor Description TraceServiceImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()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.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.
-
-
-
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:
bindServicein interfaceio.grpc.BindableService
-
-