@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.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.binder.jvm.ClassLoaderMetrics |
classLoaderMetrics() |
io.micrometer.binder.jvm.JvmGcMetrics |
jvmGcMetrics() |
io.micrometer.binder.jvm.JvmHeapPressureMetrics |
jvmHeapPressureMetrics() |
io.micrometer.binder.jvm.JvmMemoryMetrics |
jvmMemoryMetrics() |
io.micrometer.binder.jvm.JvmThreadMetrics |
jvmThreadMetrics() |
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.jvm.JvmGcMetrics.class,io.micrometer.core.instrument.binder.jvm.JvmGcMetrics.class}) public io.micrometer.binder.jvm.JvmGcMetrics jvmGcMetrics()
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.jvm.JvmHeapPressureMetrics.class,io.micrometer.core.instrument.binder.jvm.JvmHeapPressureMetrics.class}) public io.micrometer.binder.jvm.JvmHeapPressureMetrics jvmHeapPressureMetrics()
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.jvm.JvmMemoryMetrics.class,io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics.class}) public io.micrometer.binder.jvm.JvmMemoryMetrics jvmMemoryMetrics()
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.jvm.JvmThreadMetrics.class,io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics.class}) public io.micrometer.binder.jvm.JvmThreadMetrics jvmThreadMetrics()
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.jvm.ClassLoaderMetrics.class,io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics.class}) public io.micrometer.binder.jvm.ClassLoaderMetrics classLoaderMetrics()