Class SystemMeterRegistryBinderFactoryFactory

java.lang.Object
io.micronaut.configuration.metrics.binder.system.SystemMeterRegistryBinderFactoryFactory

@Factory @RequiresMetrics public class SystemMeterRegistryBinderFactoryFactory extends Object
Creates the system metrics beans.
Since:
1.0
Author:
Christian Oestreich
  • Constructor Details

    • SystemMeterRegistryBinderFactoryFactory

      public SystemMeterRegistryBinderFactoryFactory()
  • Method Details

    • uptimeMetrics

      @Bean @Singleton @Primary @Requires(property="micronaut.metrics.binders.uptime.enabled", notEquals="false") public io.micrometer.core.instrument.binder.system.UptimeMetrics uptimeMetrics()
      Uptime metrics bean.
      Returns:
      uptimeMetrics bean
    • processorMetrics

      @Bean @Singleton @Primary @Requires(property="micronaut.metrics.binders.processor.enabled", notEquals="false") public io.micrometer.core.instrument.binder.system.ProcessorMetrics processorMetrics()
      Processor metrics bean.
      Returns:
      processorMetrics bean
    • fileDescriptorMetrics

      @Bean @Singleton @Primary @Requires(property="micronaut.metrics.binders.files.enabled", notEquals="false") public io.micrometer.core.instrument.binder.system.FileDescriptorMetrics fileDescriptorMetrics()
      Files metrics bean.
      Returns:
      fileDescriptorMetrics bean