Class LogReportServiceGrpc.LogReportServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<LogReportServiceGrpc.LogReportServiceStub>
org.apache.skywalking.apm.network.logging.v3.LogReportServiceGrpc.LogReportServiceStub
Enclosing class:
LogReportServiceGrpc

public static final class LogReportServiceGrpc.LogReportServiceStub extends io.grpc.stub.AbstractAsyncStub<LogReportServiceGrpc.LogReportServiceStub>
 Report collected logs into the OAP backend
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected LogReportServiceGrpc.LogReportServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<LogReportServiceGrpc.LogReportServiceStub>
    • 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.