Class TraceServiceGrpc.TraceServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TraceServiceGrpc.TraceServiceStub>
io.opentelemetry.proto.collector.trace.v1.TraceServiceGrpc.TraceServiceStub
- Enclosing class:
- TraceServiceGrpc
public static final class TraceServiceGrpc.TraceServiceStub
extends io.grpc.stub.AbstractAsyncStub<TraceServiceGrpc.TraceServiceStub>
A stub to allow clients to do asynchronous rpc calls to service TraceService.
Service that can be used to push spans between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector (in this case spans are sent/received to/from multiple Applications).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected TraceServiceGrpc.TraceServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidexport(ExportTraceServiceRequest request, io.grpc.stub.StreamObserver<ExportTraceServiceResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected TraceServiceGrpc.TraceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceStub>
-
export
public void export(ExportTraceServiceRequest request, io.grpc.stub.StreamObserver<ExportTraceServiceResponse> responseObserver)
-