Class MetricsServiceGrpc.MetricsServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<MetricsServiceGrpc.MetricsServiceFutureStub>
-
- io.opentelemetry.proto.collector.metrics.v1.MetricsServiceGrpc.MetricsServiceFutureStub
-
- Enclosing class:
- MetricsServiceGrpc
public static final class MetricsServiceGrpc.MetricsServiceFutureStub extends io.grpc.stub.AbstractFutureStub<MetricsServiceGrpc.MetricsServiceFutureStub>
Service that can be used to push metrics between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetricsServiceGrpc.MetricsServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<ExportMetricsServiceResponse>export(ExportMetricsServiceRequest request)For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-
-
Method Detail
-
build
protected MetricsServiceGrpc.MetricsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceFutureStub>
-
export
public com.google.common.util.concurrent.ListenableFuture<ExportMetricsServiceResponse> export(ExportMetricsServiceRequest request)
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-