Class RepositoryMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.data.RepositoryMetricsAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.data.repository.Repository.class)
@AutoConfigureAfter({MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.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
Constructors -
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)
-