@Configuration @AutoConfigureAfter(value={MetricsAutoConfiguration.class,RabbitAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class}) @ConditionalOnClass(value={com.rabbitmq.client.ConnectionFactory.class,org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.class}) @ConditionalOnBean(value={org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.class,io.micrometer.core.instrument.MeterRegistry.class}) public class RabbitMetricsAutoConfiguration extends Object
Auto-configuration
for metrics on all available
connection factories
.Constructor and Description |
---|
RabbitMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.boot.actuate.autoconfigure.metrics.amqp.RabbitConnectionFactoryMetricsPostProcessor |
rabbitConnectionFactoryMetricsPostProcessor(org.springframework.context.ApplicationContext applicationContext) |
@Bean public static org.springframework.boot.actuate.autoconfigure.metrics.amqp.RabbitConnectionFactoryMetricsPostProcessor rabbitConnectionFactoryMetricsPostProcessor(org.springframework.context.ApplicationContext applicationContext)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.