类 TraceSegmentReportServiceGrpc.TraceSegmentReportServiceImplBase
java.lang.Object
org.apache.skywalking.apm.network.language.agent.v3.TraceSegmentReportServiceGrpc.TraceSegmentReportServiceImplBase
- 所有已实现的接口:
io.grpc.BindableService
public abstract static class TraceSegmentReportServiceGrpc.TraceSegmentReportServiceImplBase
extends Object
implements io.grpc.BindableService
Define a trace segment report service. All language agents or any trace collecting component, could use this service to send span collection to the SkyWalking OAP backend.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final io.grpc.ServerServiceDefinitionio.grpc.stub.StreamObserver<SegmentObject>Recommended trace segment report channel.voidcollectInSync(SegmentCollection request, io.grpc.stub.StreamObserver<Commands> responseObserver) An alternative for trace report by using gRPC unary This is provided for some 3rd-party integration, if and only if they prefer the unary mode somehow.
-
构造器详细资料
-
TraceSegmentReportServiceImplBase
public TraceSegmentReportServiceImplBase()
-
-
方法详细资料
-
collect
public io.grpc.stub.StreamObserver<SegmentObject> collect(io.grpc.stub.StreamObserver<Commands> responseObserver) Recommended trace segment report channel. gRPC streaming provides better performance. All language agents should choose this.
-
collectInSync
public void collectInSync(SegmentCollection request, io.grpc.stub.StreamObserver<Commands> responseObserver) An alternative for trace report by using gRPC unary This is provided for some 3rd-party integration, if and only if they prefer the unary mode somehow. The performance of SkyWalking OAP server would be very similar with streaming report, the performance of the network and client side are affected
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- 指定者:
bindService在接口中io.grpc.BindableService
-