@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=MetricsAutoConfiguration.class) @ConditionalOnClass(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) public class JvmMetricsAutoConfiguration extends Object
Auto-configuration
for JVM metrics.Constructor and Description |
---|
JvmMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics |
classLoaderMetrics() |
io.micrometer.core.instrument.binder.jvm.JvmGcMetrics |
jvmGcMetrics() |
io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics |
jvmMemoryMetrics() |
io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics |
jvmThreadMetrics() |
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmGcMetrics jvmGcMetrics()
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics jvmMemoryMetrics()
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics jvmThreadMetrics()
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics classLoaderMetrics()