Class LogReportServiceGrpc.LogReportServiceImplBase
java.lang.Object
org.apache.skywalking.apm.network.logging.v3.LogReportServiceGrpc.LogReportServiceImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- LogReportServiceGrpc
public abstract static class LogReportServiceGrpc.LogReportServiceImplBase
extends Object
implements io.grpc.BindableService
Report collected logs into the OAP backend
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionio.grpc.stub.StreamObserver<LogData>Recommend to report log data in a stream mode.
-
Constructor Details
-
LogReportServiceImplBase
public LogReportServiceImplBase()
-
-
Method Details
-
collect
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.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-