@AutoConfiguration(before=RedisAutoConfiguration.class, after={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
Constructor and Description |
---|
LettuceMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ClientResourcesBuilderCustomizer |
lettuceMetrics(io.micrometer.core.instrument.MeterRegistry meterRegistry) |
@Bean public ClientResourcesBuilderCustomizer lettuceMetrics(io.micrometer.core.instrument.MeterRegistry meterRegistry)