Class TraceServiceGrpc.TraceServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TraceServiceGrpc.TraceServiceFutureStub>
-
- io.opentelemetry.proto.collector.trace.v1.TraceServiceGrpc.TraceServiceFutureStub
-
- Enclosing class:
- TraceServiceGrpc
public static final class TraceServiceGrpc.TraceServiceFutureStub extends io.grpc.stub.AbstractFutureStub<TraceServiceGrpc.TraceServiceFutureStub>
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).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TraceServiceGrpc.TraceServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<ExportTraceServiceResponse>export(ExportTraceServiceRequest request)For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-
-
Method Detail
-
build
protected TraceServiceGrpc.TraceServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceFutureStub>
-
export
public com.google.common.util.concurrent.ListenableFuture<ExportTraceServiceResponse> export(ExportTraceServiceRequest request)
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-