@Factory @RequiresMetrics public class SystemMeterRegistryBinderFactoryFactory extends java.lang.Object
Constructor and Description |
---|
SystemMeterRegistryBinderFactoryFactory() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.system.FileDescriptorMetrics |
fileDescriptorMetrics()
Files metrics bean.
|
io.micrometer.core.instrument.binder.system.ProcessorMetrics |
processorMetrics()
Processor metrics bean.
|
io.micrometer.core.instrument.binder.system.UptimeMetrics |
uptimeMetrics()
Uptime metrics bean.
|
public SystemMeterRegistryBinderFactoryFactory()
@Bean @Singleton @Primary @Requires(property="micronaut.metrics.binders.uptime.enabled", notEquals="false") public io.micrometer.core.instrument.binder.system.UptimeMetrics uptimeMetrics()
@Bean @Singleton @Primary @Requires(property="micronaut.metrics.binders.processor.enabled", notEquals="false") public io.micrometer.core.instrument.binder.system.ProcessorMetrics processorMetrics()
@Bean @Singleton @Primary @Requires(property="micronaut.metrics.binders.files.enabled", notEquals="false") public io.micrometer.core.instrument.binder.system.FileDescriptorMetrics fileDescriptorMetrics()