public static final class MetricsServiceGrpc.MetricsServiceStub extends io.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceStub>
Service for streaming metrics to server that consumes the metrics data. It uses Prometheus metric data model as a standard to represent metrics information.
| Modifier and Type | Method and Description |
|---|---|
protected MetricsServiceGrpc.MetricsServiceStub |
build(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.
|
protected MetricsServiceGrpc.MetricsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceStub>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.
Copyright © 2018–2021 The Envoy Project. All rights reserved.