public class RabbitMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
MeterBinder
for RabbitMQ Java Client metrics.Constructor and Description |
---|
RabbitMetrics(com.rabbitmq.client.ConnectionFactory connectionFactory,
Iterable<io.micrometer.core.instrument.Tag> tags)
Create a new meter binder recording the specified
ConnectionFactory . |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(io.micrometer.core.instrument.MeterRegistry registry) |
public RabbitMetrics(com.rabbitmq.client.ConnectionFactory connectionFactory, Iterable<io.micrometer.core.instrument.Tag> tags)
ConnectionFactory
.connectionFactory
- the ConnectionFactory
to instrumenttags
- tags to apply to all recorded metricsCopyright © 2019 Pivotal Software, Inc.. All rights reserved.