Class LettuceMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration
@AutoConfiguration(before=RedisAutoConfiguration.class,
after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@ConditionalOnClass({io.lettuce.core.RedisClient.class,io.lettuce.core.metrics.MicrometerCommandLatencyRecorder.class})
@ConditionalOnBean(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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlettuceMetrics
(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
Constructor Details
-
LettuceMetricsAutoConfiguration
public LettuceMetricsAutoConfiguration()
-
-
Method Details
-
lettuceMetrics
@Bean public ClientResourcesBuilderCustomizer lettuceMetrics(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-