Class RabbitMetricsAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.amqp.RabbitMetricsAutoConfiguration

@AutoConfiguration(after={MetricsAutoConfiguration.class,RabbitAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class}) @ConditionalOnClass({com.rabbitmq.client.ConnectionFactory.class,org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.class}) @ConditionalOnBean({org.springframework.amqp.rabbit.connection.ConnectionFactory.class,io.micrometer.core.instrument.MeterRegistry.class}) public class RabbitMetricsAutoConfiguration extends Object
Auto-configuration for metrics on all available connection factories.
Since:
2.0.0
Author:
Stephane Nicoll
  • Constructor Details

    • RabbitMetricsAutoConfiguration

      public RabbitMetricsAutoConfiguration()
  • Method Details

    • rabbitConnectionFactoryMetricsPostProcessor

      @Bean public static org.springframework.boot.actuate.autoconfigure.metrics.amqp.RabbitConnectionFactoryMetricsPostProcessor rabbitConnectionFactoryMetricsPostProcessor(ApplicationContext applicationContext)