public abstract static class MetricsServiceOuterClass.MetricsService extends Object implements com.google.protobuf.Service
Service for streaming metrics to server that consumes the metrics data. It uses Prometheus metric data model as a standard to represent metrics information.Protobuf service
envoy.service.metrics.v2.MetricsService| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricsServiceOuterClass.MetricsService.BlockingInterface |
static interface |
MetricsServiceOuterClass.MetricsService.Interface |
static class |
MetricsServiceOuterClass.MetricsService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
MetricsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static MetricsServiceOuterClass.MetricsService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(MetricsServiceOuterClass.MetricsService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(MetricsServiceOuterClass.MetricsService.Interface impl) |
static MetricsServiceOuterClass.MetricsService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
streamMetrics(com.google.protobuf.RpcController controller,
MetricsServiceOuterClass.StreamMetricsMessage request,
com.google.protobuf.RpcCallback<MetricsServiceOuterClass.StreamMetricsResponse> done)
Envoy will connect and send StreamMetricsMessage messages forever.
|
public static com.google.protobuf.Service newReflectiveService(MetricsServiceOuterClass.MetricsService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(MetricsServiceOuterClass.MetricsService.BlockingInterface impl)
public abstract void streamMetrics(com.google.protobuf.RpcController controller,
MetricsServiceOuterClass.StreamMetricsMessage request,
com.google.protobuf.RpcCallback<MetricsServiceOuterClass.StreamMetricsResponse> done)
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.
rpc StreamMetrics(stream .envoy.service.metrics.v2.StreamMetricsMessage) returns (.envoy.service.metrics.v2.StreamMetricsResponse);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static MetricsServiceOuterClass.MetricsService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static MetricsServiceOuterClass.MetricsService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018 The Envoy Project. All rights reserved.