Class SystemMeterRegistryBinderFactoryFactory
java.lang.Object
io.micronaut.configuration.metrics.binder.system.SystemMeterRegistryBinderFactoryFactory
Creates the system metrics beans.
- Since:
- 1.0
- Author:
- Christian Oestreich
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.binder.system.FileDescriptorMetrics
Files metrics bean.io.micrometer.core.instrument.binder.system.ProcessorMetrics
Processor metrics bean.io.micrometer.core.instrument.binder.system.UptimeMetrics
Uptime metrics bean.
-
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
-