List of usage examples for com.rabbitmq.client.impl MicrometerMetricsCollector MicrometerMetricsCollector
public MicrometerMetricsCollector(final MeterRegistry registry, final String prefix, final Iterable<Tag> tags)
From source file:org.springframework.boot.actuate.metrics.amqp.RabbitMetrics.java
License:Apache License
@Override public void bindTo(MeterRegistry registry) { this.connectionFactory.setMetricsCollector(new MicrometerMetricsCollector(registry, "rabbitmq", this.tags)); }