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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiskSpaceMetrics
(MetricsProperties properties) io.micrometer.binder.system.FileDescriptorMetrics
io.micrometer.binder.system.ProcessorMetrics
io.micrometer.binder.system.UptimeMetrics
-
Constructor Details
-
SystemMetricsAutoConfiguration
public SystemMetricsAutoConfiguration()
-
-
Method Details
-
uptimeMetrics
-
processorMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.binder.system.ProcessorMetrics processorMetrics() -
fileDescriptorMetrics
@Bean @ConditionalOnMissingBean public io.micrometer.binder.system.FileDescriptorMetrics fileDescriptorMetrics() -
diskSpaceMetrics
@Bean @ConditionalOnMissingBean public DiskSpaceMetricsBinder diskSpaceMetrics(MetricsProperties properties)
-