Class JvmMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.JvmMetricsAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@ConditionalOnClass(io.micrometer.core.instrument.MeterRegistry.class)
@ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
public class JvmMetricsAutoConfiguration
extends Object
Auto-configuration
for JVM metrics.- Since:
- 2.1.0
- Author:
- Stephane Nicoll, EddĂș MelĂ©ndez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics
io.micrometer.core.instrument.binder.jvm.JvmGcMetrics
io.micrometer.core.instrument.binder.jvm.JvmHeapPressureMetrics
io.micrometer.core.instrument.binder.jvm.JvmInfoMetrics
io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics
io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics
-
Constructor Details
-
JvmMetricsAutoConfiguration
public JvmMetricsAutoConfiguration()
-
-
Method Details
-
jvmGcMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmGcMetrics jvmGcMetrics() -
jvmHeapPressureMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmHeapPressureMetrics jvmHeapPressureMetrics() -
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() -
jvmInfoMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.jvm.JvmInfoMetrics jvmInfoMetrics()
-