@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=MetricsAutoConfiguration.class) @ConditionalOnClass(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) public class SystemMetricsAutoConfiguration extends Object
Auto-configuration
for system metrics.Constructor and Description |
---|
SystemMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.system.FileDescriptorMetrics |
fileDescriptorMetrics() |
io.micrometer.core.instrument.binder.system.ProcessorMetrics |
processorMetrics() |
io.micrometer.core.instrument.binder.system.UptimeMetrics |
uptimeMetrics() |
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.UptimeMetrics uptimeMetrics()
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.ProcessorMetrics processorMetrics()
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.FileDescriptorMetrics fileDescriptorMetrics()