PrometheusRSocketClient's connection is timing out very often (original) (raw)

Currently PrometheusRSocketClient is timing out very often when trying to connect to the proxy-server.

It would be great to make the Duration of connectBlockingly(Duration timeout) configurable.

This would also affect prometheus-rsocket-spring properties, so that you can add a specific property to your application.yml

See: https://github.com/micrometer-metrics/prometheus-rsocket-proxy/blob/main/client/src/main/java/io/micrometer/prometheus/rsocket/PrometheusRSocketClient.java#L304

This might also relate to pushAndCloseBlockingly(Duration timeout);