@Configuration @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 @ConditionalOnProperty(value="management.metrics.binders.uptime.enabled", matchIfMissing=true) @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.UptimeMetrics uptimeMetrics()
@Bean @ConditionalOnProperty(value="management.metrics.binders.processor.enabled", matchIfMissing=true) @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.ProcessorMetrics processorMetrics()
@Bean @ConditionalOnProperty(name="management.metrics.binders.files.enabled", matchIfMissing=true) @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.FileDescriptorMetrics fileDescriptorMetrics()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.