Class PrometheusRSocketClient


  • public class PrometheusRSocketClient
    extends java.lang.Object
    Establishes a persistent bidirectional RSocket connection to a Prometheus RSocket proxy. Prometheus scrapes each proxy instance. Proxies in turn use the connection to pull metrics from each client.
    • Constructor Summary

      Constructors 
      Constructor Description
      PrometheusRSocketClient​(io.micrometer.prometheus.PrometheusMeterRegistry registry, io.rsocket.transport.ClientTransport transport, java.util.function.UnaryOperator<reactor.core.publisher.Flux<java.lang.Void>> customizeAndRetry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void pushAndClose()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrometheusRSocketClient

        public PrometheusRSocketClient​(io.micrometer.prometheus.PrometheusMeterRegistry registry,
                                       io.rsocket.transport.ClientTransport transport,
                                       java.util.function.UnaryOperator<reactor.core.publisher.Flux<java.lang.Void>> customizeAndRetry)
    • Method Detail

      • close

        public void close()
      • pushAndClose

        public void pushAndClose()