Class MetricsServiceGrpc.MetricsServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<MetricsServiceGrpc.MetricsServiceBlockingStub>
io.opentelemetry.proto.collector.metrics.v1.MetricsServiceGrpc.MetricsServiceBlockingStub
- Enclosing class:
- MetricsServiceGrpc
public static final class MetricsServiceGrpc.MetricsServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<MetricsServiceGrpc.MetricsServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service MetricsService.
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.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) export(ExportMetricsServiceRequest request) For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MetricsServiceGrpc.MetricsServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceBlockingStub>
-
export
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-