Class RabbitMetrics
java.lang.Object
org.springframework.boot.rabbitmq.metrics.RabbitMetrics
- All Implemented Interfaces:
MeterBinder
A
MeterBinder for RabbitMQ Java Client metrics.- Since:
- 4.2.0
- Author:
- Arnaud Cogoluègnes, Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionRabbitMetrics(ConnectionFactory connectionFactory, @Nullable Iterable<Tag> tags) Create a new meter binder recording the specifiedConnectionFactory. -
Method Summary
-
Constructor Details
-
RabbitMetrics
Create a new meter binder recording the specifiedConnectionFactory.- Parameters:
connectionFactory- theConnectionFactoryto instrumenttags- tags to apply to all recorded metrics
-
-
Method Details
-
bindTo
- Specified by:
bindToin interfaceMeterBinder
-