类 TraceSegmentReportServiceGrpc.TraceSegmentReportServiceImplBase

java.lang.Object
org.apache.skywalking.apm.network.language.agent.v3.TraceSegmentReportServiceGrpc.TraceSegmentReportServiceImplBase
所有已实现的接口:
io.grpc.BindableService
封闭类:
TraceSegmentReportServiceGrpc

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.
 
  • 构造器详细资料

    • 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