|
|
|
@ -50,6 +50,7 @@ import org.springframework.util.StringUtils;
|
|
|
|
|
@Configuration
|
|
|
|
|
@AutoConfigureAfter({ MetricsAutoConfiguration.class, DataSourceAutoConfiguration.class,
|
|
|
|
|
SimpleMetricsExportAutoConfiguration.class })
|
|
|
|
|
@ConditionalOnClass({ DataSource.class, MeterRegistry.class })
|
|
|
|
|
@ConditionalOnBean({ DataSource.class, MeterRegistry.class })
|
|
|
|
|
public class DataSourcePoolMetricsAutoConfiguration {
|
|
|
|
|
|
|
|
|
|