@Configuration @EnableScheduling @EnableConfigurationProperties public class MetricExportAutoConfiguration extends Object
Auto-configuration
for metrics export.Modifier and Type | Class and Description |
---|---|
protected static class |
MetricExportAutoConfiguration.MetricExportPropertiesConfiguration |
Constructor and Description |
---|
MetricExportAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
SchedulingConfigurer |
metricWritersMetricExporter() |
StatsdMetricWriter |
statsdMetricWriter() |
@Bean @ConditionalOnMissingBean(name="metricWritersMetricExporter") public SchedulingConfigurer metricWritersMetricExporter()
@Bean @ExportMetricWriter @ConditionalOnMissingBean public StatsdMetricWriter statsdMetricWriter()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.