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.
| Constructor and Description |
|---|
TraceSegmentReportServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.grpc.stub.StreamObserver<SegmentObject> |
collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
Recommended trace segment report channel.
|
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.
|
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.
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
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022 The Apache Software Foundation. All rights reserved.