Class MetricsServiceGrpc.MetricsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
io.opentelemetry.proto.collector.metrics.v1.MetricsServiceGrpc.MetricsServiceStub
- Enclosing class:
- MetricsServiceGrpc
public static final class MetricsServiceGrpc.MetricsServiceStub
extends io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected MetricsServiceGrpc.MetricsServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidexport(ExportMetricsServiceRequest request, io.grpc.stub.StreamObserver<ExportMetricsServiceResponse> 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 MetricsServiceGrpc.MetricsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceStub>
-
export
public void export(ExportMetricsServiceRequest request, io.grpc.stub.StreamObserver<ExportMetricsServiceResponse> responseObserver)
-