Class 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
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JvmMetricsAutoConfiguration

        public JvmMetricsAutoConfiguration()
    • 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()