public static final class TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub extends io.grpc.stub.AbstractAsyncStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.
|
protected TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TraceSegmentReportServiceGrpc.TraceSegmentReportServiceStub>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
Copyright © 2022 The Apache Software Foundation. All rights reserved.