Class RepositoryMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.data.RepositoryMetricsAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class})
@ConditionalOnClass(org.springframework.data.repository.Repository.class)
@ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
@EnableConfigurationProperties(MetricsProperties.class)
public class RepositoryMetricsAutoConfiguration
extends Object
Auto-configuration
for Spring Data Repository metrics.- Since:
- 2.5.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmetricsRepositoryMethodInvocationListener
(ObjectProvider<io.micrometer.core.instrument.MeterRegistry> registry, RepositoryTagsProvider tagsProvider) static org.springframework.boot.actuate.autoconfigure.metrics.data.MetricsRepositoryMethodInvocationListenerBeanPostProcessor
metricsRepositoryMethodInvocationListenerBeanPostProcessor
(ObjectProvider<MetricsRepositoryMethodInvocationListener> metricsRepositoryMethodInvocationListener)
-
Constructor Details
-
RepositoryMetricsAutoConfiguration
-
-
Method Details
-
repositoryTagsProvider
@Bean @ConditionalOnMissingBean(RepositoryTagsProvider.class) public DefaultRepositoryTagsProvider repositoryTagsProvider() -
metricsRepositoryMethodInvocationListener
@Bean @ConditionalOnMissingBean public MetricsRepositoryMethodInvocationListener metricsRepositoryMethodInvocationListener(ObjectProvider<io.micrometer.core.instrument.MeterRegistry> registry, RepositoryTagsProvider tagsProvider) -
metricsRepositoryMethodInvocationListenerBeanPostProcessor
@Bean public static org.springframework.boot.actuate.autoconfigure.metrics.data.MetricsRepositoryMethodInvocationListenerBeanPostProcessor metricsRepositoryMethodInvocationListenerBeanPostProcessor(ObjectProvider<MetricsRepositoryMethodInvocationListener> metricsRepositoryMethodInvocationListener)
-