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 and Description |
|---|
TraceServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
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.
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.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableService