@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore(value=RedisAutoConfiguration.class)
@AutoConfigureAfter(value={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@ConditionalOnClass(value={io.lettuce.core.RedisClient.class,io.lettuce.core.metrics.MicrometerCommandLatencyRecorder.class})
@ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class)
public class LettuceMetricsAutoConfiguration
extends Object
Auto-configuration for Lettuce metrics.
- Since:
- 2.6.0
- Author:
- Antonin Arquey, Yanming Zhou