类 RabbitMetrics

java.lang.Object
org.springframework.boot.actuate.metrics.amqp.RabbitMetrics
所有已实现的接口:
io.micrometer.core.instrument.binder.MeterBinder

public class RabbitMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
A MeterBinder for RabbitMQ Java Client metrics.
从以下版本开始:
2.0.0
作者:
Arnaud Cogoluègnes, Stephane Nicoll
  • 构造器概要

    构造器
    构造器
    说明
    RabbitMetrics(com.rabbitmq.client.ConnectionFactory connectionFactory, Iterable<io.micrometer.core.instrument.Tag> tags)
    Create a new meter binder recording the specified ConnectionFactory.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    bindTo(io.micrometer.core.instrument.MeterRegistry registry)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • RabbitMetrics

      public RabbitMetrics(com.rabbitmq.client.ConnectionFactory connectionFactory, Iterable<io.micrometer.core.instrument.Tag> tags)
      Create a new meter binder recording the specified ConnectionFactory.
      参数:
      connectionFactory - the ConnectionFactory to instrument
      tags - tags to apply to all recorded metrics
  • 方法详细资料

    • bindTo

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