Example usage for com.rabbitmq.client.impl MicrometerMetricsCollector MicrometerMetricsCollector

List of usage examples for com.rabbitmq.client.impl MicrometerMetricsCollector MicrometerMetricsCollector

Introduction

In this page you can find the example usage for com.rabbitmq.client.impl MicrometerMetricsCollector MicrometerMetricsCollector.

Prototype

public MicrometerMetricsCollector(final MeterRegistry registry, final String prefix, final Iterable<Tag> tags) 

Source Link

Usage

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));
}