类 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 specifiedConnectionFactory
. -
方法概要
-
构造器详细资料
-
RabbitMetrics
public RabbitMetrics(com.rabbitmq.client.ConnectionFactory connectionFactory, Iterable<io.micrometer.core.instrument.Tag> tags) Create a new meter binder recording the specifiedConnectionFactory
.- 参数:
connectionFactory
- theConnectionFactory
to instrumenttags
- tags to apply to all recorded metrics
-
-
方法详细资料
-
bindTo
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry) - 指定者:
bindTo
在接口中io.micrometer.core.instrument.binder.MeterBinder
-