Class SystemMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.SystemMetricsAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@ConditionalOnClass(io.micrometer.core.instrument.MeterRegistry.class)
@ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
@EnableConfigurationProperties(MetricsProperties.class)
public class SystemMetricsAutoConfiguration
extends Object
Auto-configuration
for system metrics.- Since:
- 2.1.0
- Author:
- Stephane Nicoll, Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondiskSpaceMetrics
(MetricsProperties properties) io.micrometer.core.instrument.binder.system.FileDescriptorMetrics
io.micrometer.core.instrument.binder.system.ProcessorMetrics
io.micrometer.core.instrument.binder.system.UptimeMetrics
-
Constructor Details
-
SystemMetricsAutoConfiguration
public SystemMetricsAutoConfiguration()
-
-
Method Details
-
uptimeMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.UptimeMetrics uptimeMetrics() -
processorMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.ProcessorMetrics processorMetrics() -
fileDescriptorMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.system.FileDescriptorMetrics fileDescriptorMetrics() -
diskSpaceMetrics
@Bean @ConditionalOnMissingBean public DiskSpaceMetricsBinder diskSpaceMetrics(MetricsProperties properties)
-