@Configuration
@ConditionalOnClass({io.micrometer.core.instrument.MeterRegistry.class,ch.qos.logback.classic.LoggerContext.class,org.slf4j.LoggerFactory.class})
@ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
@Conditional(io.micrometer.spring.autoconfigure.LogbackMetricsAutoConfiguration.LogbackLoggingCondition.class)
@ConditionalOnProperty(value="management.metrics.binders.logback.enabled",
matchIfMissing=true)
public class LogbackMetricsAutoConfiguration
extends java.lang.Object
Auto-configuration
for Logback metrics.
- Since:
- 1.1.0