Class MetricsServiceGrpc.MetricsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
io.envoyproxy.envoy.service.metrics.v3.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 for streaming metrics to server that consumes the metrics data. It uses Prometheus metric data model as a standard to represent metrics information.
-
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) io.grpc.stub.StreamObserver<StreamMetricsMessage>streamMetrics(io.grpc.stub.StreamObserver<StreamMetricsResponse> responseObserver) Envoy will connect and send StreamMetricsMessage messages forever.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, 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>
-
streamMetrics
public io.grpc.stub.StreamObserver<StreamMetricsMessage> streamMetrics(io.grpc.stub.StreamObserver<StreamMetricsResponse> responseObserver) Envoy will connect and send StreamMetricsMessage messages forever. It does not expect any response to be sent as nothing would be done in the case of failure.
-