public static final class TraceServiceGrpc.TraceServiceStub extends io.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceStub>
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).
| Modifier and Type | Method and Description |
|---|---|
protected TraceServiceGrpc.TraceServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.
|
protected TraceServiceGrpc.TraceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceStub>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.