接口的使用
org.springframework.boot.actuate.metrics.AutoTimer
使用AutoTimer的程序包
程序包
说明
Auto-configuration for actuator metrics and Micrometer.
Core actuator support for metrics.
Actuator support for Spring Data Repository metrics.
-
org.springframework.boot.actuate.autoconfigure.metrics中AutoTimer的使用
-
org.springframework.boot.actuate.metrics中AutoTimer的使用
-
org.springframework.boot.actuate.metrics.data中AutoTimer的使用
限定符构造器说明MetricsRepositoryMethodInvocationListener
(Supplier<io.micrometer.core.instrument.MeterRegistry> registrySupplier, RepositoryTagsProvider tagsProvider, String metricName, AutoTimer autoTimer) Create a newMetricsRepositoryMethodInvocationListener
.