@Configuration @ConditionalOnClass(value=org.springframework.boot.actuate.metrics.CounterService.class) @ConditionalOnMissingBean(value=SpanMetricReporter.class) protected static class TraceMetricsAutoConfiguration.CounterServiceSpanReporterConfig extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
CounterServiceSpanReporterConfig() |
| Modifier and Type | Method and Description |
|---|---|
SpanMetricReporter |
noOpSpanReporterCounterService() |
SpanMetricReporter |
spanReporterCounterService(org.springframework.boot.actuate.metrics.CounterService counterService,
SleuthMetricProperties sleuthMetricProperties) |
@Bean @ConditionalOnBean(value=org.springframework.boot.actuate.metrics.CounterService.class) public SpanMetricReporter spanReporterCounterService(org.springframework.boot.actuate.metrics.CounterService counterService, SleuthMetricProperties sleuthMetricProperties)
@Bean @ConditionalOnMissingBean(value=org.springframework.boot.actuate.metrics.CounterService.class) public SpanMetricReporter noOpSpanReporterCounterService()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.