Class MetricsServiceGrpc.MetricsServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    MetricsServiceGrpc

    public abstract static class MetricsServiceGrpc.MetricsServiceImplBase
    extends Object
    implements io.grpc.BindableService
     Service for streaming metrics to server that consumes the metrics data. It uses Prometheus metric
     data model as a standard to represent metrics information.
     
    • Constructor Detail

      • MetricsServiceImplBase

        public MetricsServiceImplBase()
    • Method Detail

      • 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.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService