Package io.micrometer.prometheus.rsocket
Class PrometheusRSocketClient
- java.lang.Object
-
- io.micrometer.prometheus.rsocket.PrometheusRSocketClient
-
public class PrometheusRSocketClient extends java.lang.ObjectEstablishes 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 voidclose()voidpushAndClose()
-