@Configuration @AutoConfigureAfter(value=MetricsAutoConfiguration.class) @ConditionalOnClass(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnProperty(value="management.metrics.binders.jvm.enabled", matchIfMissing=true) 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()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.