@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.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()
@Bean @ConditionalOnMissingBean public DiskSpaceMetricsBinder diskSpaceMetrics(MetricsProperties properties)