public static final class LogReportServiceGrpc.LogReportServiceStub extends io.grpc.stub.AbstractAsyncStub<LogReportServiceGrpc.LogReportServiceStub>
Report collected logs into the OAP backend
| Modifier and Type | Method and Description |
|---|---|
protected LogReportServiceGrpc.LogReportServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
io.grpc.stub.StreamObserver<LogData> |
collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
Recommend to report log data in a stream mode.
|
protected LogReportServiceGrpc.LogReportServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<LogReportServiceGrpc.LogReportServiceStub>public io.grpc.stub.StreamObserver<LogData> collect(io.grpc.stub.StreamObserver<Commands> responseObserver)
Recommend to report log data in a stream mode. The service/instance/endpoint of the log could share the previous value if they are not set. Reporting the logs of same service in the batch mode could reduce the network cost.
Copyright © 2022 The Apache Software Foundation. All rights reserved.