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>
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.TraceServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidexport(ExportTraceServiceRequest request, 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
-
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)
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-