Class JvmMetricsAutoConfiguration
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.JvmMetricsAutoConfiguration
-
@Configuration @ConditionalOnClass(io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnProperty(value="management.metrics.binders.jvm.enabled", matchIfMissing=true) public class JvmMetricsAutoConfiguration extends java.lang.Object
Auto-configuration
for JVM metrics.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description JvmMetricsAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
jvmGcMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmGcMetrics jvmGcMetrics()
-
jvmMemoryMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics jvmMemoryMetrics()
-
jvmThreadMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics jvmThreadMetrics()
-
classLoaderMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics classLoaderMetrics()
-
-