Class LogsServiceGrpc.LogsServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<LogsServiceGrpc.LogsServiceFutureStub>
-
- io.opentelemetry.proto.collector.logs.v1.LogsServiceGrpc.LogsServiceFutureStub
-
- Enclosing class:
- LogsServiceGrpc
public static final class LogsServiceGrpc.LogsServiceFutureStub extends io.grpc.stub.AbstractFutureStub<LogsServiceGrpc.LogsServiceFutureStub>
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).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LogsServiceGrpc.LogsServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<ExportLogsServiceResponse>export(ExportLogsServiceRequest request)For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-
-
Method Detail
-
build
protected LogsServiceGrpc.LogsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<LogsServiceGrpc.LogsServiceFutureStub>
-
export
public com.google.common.util.concurrent.ListenableFuture<ExportLogsServiceResponse> export(ExportLogsServiceRequest request)
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-