Class MetricsService

  • All Implemented Interfaces:
    com.google.protobuf.Service
    Direct Known Subclasses:
    MetricsService.Stub

    public abstract class 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.v3.MetricsService
    • Constructor Detail

      • MetricsService

        protected MetricsService()
    • Method Detail

      • newReflectiveService

        public static com.google.protobuf.Service newReflectiveService​(MetricsService.Interface impl)
      • streamMetrics

        public abstract void streamMetrics​(com.google.protobuf.RpcController controller,
                                           StreamMetricsMessage request,
                                           com.google.protobuf.RpcCallback<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.v3.StreamMetricsMessage) returns (.envoy.service.metrics.v3.StreamMetricsResponse);
      • getDescriptor

        public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Service
      • callMethod

        public 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)
        Specified by:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service
      • newStub

        public static MetricsService.Stub newStub​(com.google.protobuf.RpcChannel channel)