@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class}) @ConditionalOnClass(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) @EnableConfigurationProperties(value=MetricsProperties.class) public class SystemMetricsAutoConfiguration extends Object
Auto-configuration
for system metrics.Constructor and Description |
---|
SystemMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DiskSpaceMetricsBinder |
diskSpaceMetrics(MetricsProperties properties) |
io.micrometer.binder.system.FileDescriptorMetrics |
fileDescriptorMetrics() |
io.micrometer.binder.system.ProcessorMetrics |
processorMetrics() |
io.micrometer.binder.system.UptimeMetrics |
uptimeMetrics() |
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.system.UptimeMetrics.class,io.micrometer.core.instrument.binder.system.UptimeMetrics.class}) public io.micrometer.binder.system.UptimeMetrics uptimeMetrics()
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.system.ProcessorMetrics.class,io.micrometer.core.instrument.binder.system.ProcessorMetrics.class}) public io.micrometer.binder.system.ProcessorMetrics processorMetrics()
@Bean @ConditionalOnMissingBean(value={io.micrometer.binder.system.FileDescriptorMetrics.class,io.micrometer.core.instrument.binder.system.FileDescriptorMetrics.class}) public io.micrometer.binder.system.FileDescriptorMetrics fileDescriptorMetrics()
@Bean @ConditionalOnMissingBean public DiskSpaceMetricsBinder diskSpaceMetrics(MetricsProperties properties)