类 MetricExportAutoConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.MetricExportAutoConfiguration
@Configuration @EnableScheduling @ConditionalOnProperty(value="spring.metrics.export.enabled", matchIfMissing=true) @EnableConfigurationProperties public class MetricExportAutoConfiguration extends Object
Auto-configuration
for metrics export.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static class
MetricExportAutoConfiguration.MetricExportPropertiesConfiguration
构造器概要
构造器 构造器 说明 MetricExportAutoConfiguration(MetricExportProperties properties, org.springframework.beans.factory.ObjectProvider<MetricsEndpointMetricReader> endpointReader, org.springframework.beans.factory.ObjectProvider<List<MetricReader>> readers, org.springframework.beans.factory.ObjectProvider<Map<String,GaugeWriter>> writers, org.springframework.beans.factory.ObjectProvider<Map<String,Exporter>> exporters)
构造器详细资料
MetricExportAutoConfiguration
public MetricExportAutoConfiguration(MetricExportProperties properties, org.springframework.beans.factory.ObjectProvider<MetricsEndpointMetricReader> endpointReader, @ExportMetricReader org.springframework.beans.factory.ObjectProvider<List<MetricReader>> readers, @ExportMetricWriter org.springframework.beans.factory.ObjectProvider<Map<String,GaugeWriter>> writers, org.springframework.beans.factory.ObjectProvider<Map<String,Exporter>> exporters)
方法详细资料
metricWritersMetricExporter
@Bean @ConditionalOnMissingBean(name="metricWritersMetricExporter") public org.springframework.scheduling.annotation.SchedulingConfigurer metricWritersMetricExporter(MetricExportProperties properties)