类 PoolingHttpClientConnectionManagerMetricsBinder

java.lang.Object
club.zhcs.lina.starter.monitor.metrics.http.PoolingHttpClientConnectionManagerMetricsBinder
所有已实现的接口:
io.micrometer.core.instrument.binder.MeterBinder

public class PoolingHttpClientConnectionManagerMetricsBinder extends Object implements io.micrometer.core.instrument.binder.MeterBinder
  • 构造器详细资料

    • PoolingHttpClientConnectionManagerMetricsBinder

      public PoolingHttpClientConnectionManagerMetricsBinder(org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager poolingHttpClientConnectionManager, String name, String... tags)
      Creates a metrics binder for the given pooling connection pool control.
      参数:
      name - Name of the connection pool control. Will be added as tag with the key "httpclient".
      tags - Tags to apply to all recorded metrics. Must be an even number of arguments representing key/value pairs of tags.
      connPoolControl - The connection pool control to monitor.
    • PoolingHttpClientConnectionManagerMetricsBinder

      public PoolingHttpClientConnectionManagerMetricsBinder(org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager poolingHttpClientConnectionManager, String name, Iterable<io.micrometer.core.instrument.Tag> tags)
      Creates a metrics binder for the given connection pool control.
      参数:
      name - Name of the connection pool control. Will be added as tag with the key "httpclient".
      tags - Tags to apply to all recorded metrics.
      connPoolControl - The connection pool control to monitor.
  • 方法详细资料

    • bindTo

      public void bindTo(@NonNull io.micrometer.core.instrument.MeterRegistry registry)
      指定者:
      bindTo 在接口中 io.micrometer.core.instrument.binder.MeterBinder