Class JvmMeterRegistryBinderFactory

java.lang.Object
io.micronaut.configuration.metrics.binder.jvm.JvmMeterRegistryBinderFactory

@Factory @RequiresMetrics @Requires(property="micronaut.metrics.binders.jvm.enabled", notEquals="false") public class JvmMeterRegistryBinderFactory extends Object
Creates the JVM metrics beans.
Since:
1.0
Author:
Christian Oestreich
  • Constructor Details

    • JvmMeterRegistryBinderFactory

      public JvmMeterRegistryBinderFactory()
  • Method Details

    • jvmGcMetrics

      @Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmGcMetrics jvmGcMetrics()
      JVM GC metrics bean.
      Returns:
      jvmGcMetrics
    • jvmMemoryMetrics

      @Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics jvmMemoryMetrics()
      JVM Memory metrics bean.
      Returns:
      jvmMemoryMetrics
    • jvmThreadMetrics

      @Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics jvmThreadMetrics()
      JVM Thread metrics bean.
      Returns:
      jvmThreadMetrics
    • classLoaderMetrics

      @Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics classLoaderMetrics()
      JVM Class loader metrics bean.
      Returns:
      classLoaderMetrics