Class DataSourcePoolMetricsAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.jdbc.DataSourcePoolMetricsAutoConfiguration

@AutoConfiguration(after={MetricsAutoConfiguration.class,DataSourceAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class}) @ConditionalOnClass({javax.sql.DataSource.class,io.micrometer.core.instrument.MeterRegistry.class}) @ConditionalOnBean({javax.sql.DataSource.class,io.micrometer.core.instrument.MeterRegistry.class}) public class DataSourcePoolMetricsAutoConfiguration extends Object
Auto-configuration for metrics on all available datasources.
Since:
2.0.0
Author:
Stephane Nicoll
  • Constructor Details

    • DataSourcePoolMetricsAutoConfiguration

      public DataSourcePoolMetricsAutoConfiguration()