Class HttpConnectionPoolMetrics

java.lang.Object
org.zalando.riptide.httpclient.metrics.HttpConnectionPoolMetrics
All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder

@API(status=EXPERIMENTAL) public final class HttpConnectionPoolMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
  • Constructor Details

    • HttpConnectionPoolMetrics

      public HttpConnectionPoolMetrics(org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager manager)
  • Method Details

    • withMetricName

      public HttpConnectionPoolMetrics withMetricName(String metricName)
    • withDefaultTags

      public HttpConnectionPoolMetrics withDefaultTags(io.micrometer.core.instrument.Tag... defaultTags)
    • withDefaultTags

      public HttpConnectionPoolMetrics withDefaultTags(Iterable<io.micrometer.core.instrument.Tag> defaultTags)
    • bindTo

      public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
      Specified by:
      bindTo in interface io.micrometer.core.instrument.binder.MeterBinder