Class LogbackMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.LogbackMetricsAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@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(org.springframework.boot.actuate.autoconfigure.metrics.LogbackMetricsAutoConfiguration.LogbackLoggingCondition.class)
public class LogbackMetricsAutoConfiguration
extends Object
Auto-configuration
for Logback metrics.- Since:
- 2.1.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.binder.logging.LogbackMetrics
-
Constructor Details
-
LogbackMetricsAutoConfiguration
public LogbackMetricsAutoConfiguration()
-
-
Method Details
-
logbackMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.logging.LogbackMetrics logbackMetrics()
-