@Configuration @EnableConfigurationProperties public class TraceMetricsAutoConfiguration extends Object
Auto-configuration
enables Sleuth related metrics reporting| Modifier and Type | Class and Description |
|---|---|
protected static class |
TraceMetricsAutoConfiguration.CounterServiceSpanReporterConfig |
| Constructor and Description |
|---|
TraceMetricsAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SpanMetricReporter |
noOpSpanReporterCounterService() |
SleuthMetricProperties |
sleuthMetricProperties() |
@Bean @ConditionalOnMissingBean public SleuthMetricProperties sleuthMetricProperties()
@Bean @ConditionalOnMissingClass(value="org.springframework.boot.actuate.metrics.CounterService") @ConditionalOnMissingBean(value=SpanMetricReporter.class) public SpanMetricReporter noOpSpanReporterCounterService()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.