Class LogsServiceGrpc.LogsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<LogsServiceGrpc.LogsServiceStub>
io.opentelemetry.proto.collector.logs.v1.LogsServiceGrpc.LogsServiceStub
- Enclosing class:
- LogsServiceGrpc
public static final class LogsServiceGrpc.LogsServiceStub
extends io.grpc.stub.AbstractAsyncStub<LogsServiceGrpc.LogsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service LogsService.
Service that can be used to push logs between one Application instrumented with OpenTelemetry and an collector, or between an collector and a central collector (in this case logs are sent/received to/from multiple Applications).
-
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 TypeMethodDescriptionprotected LogsServiceGrpc.LogsServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidexport(ExportLogsServiceRequest request, io.grpc.stub.StreamObserver<ExportLogsServiceResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected LogsServiceGrpc.LogsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LogsServiceGrpc.LogsServiceStub>
-
export
public void export(ExportLogsServiceRequest request, io.grpc.stub.StreamObserver<ExportLogsServiceResponse> responseObserver)
-