@Configuration
@ConditionalOnProperty(value="opentracing.jaeger.useTracerResolver",
havingValue="false",
matchIfMissing=true)
@EnableConfigurationProperties(value=JaegerConfigurationProperties.class)
public static class JaegerAutoConfiguration.ExplicitConfiguration
extends Object
| Constructor and Description |
|---|
ExplicitConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
JaegerTracerCustomizer |
b3CodecJaegerTracerCustomizer() |
com.uber.jaeger.reporters.Reporter |
reporter(JaegerConfigurationProperties properties,
com.uber.jaeger.metrics.Metrics metrics,
ReporterAppender reporterAppender) |
com.uber.jaeger.metrics.Metrics |
reporterMetrics(com.uber.jaeger.metrics.StatsReporter statsReporter) |
com.uber.jaeger.samplers.Sampler |
sampler(JaegerConfigurationProperties properties,
com.uber.jaeger.metrics.Metrics metrics)
Decide on what Sampler to use based on the various configuration options in JaegerConfigurationProperties
Fallback to ConstSampler(true) when no Sampler is configured
|
com.uber.jaeger.metrics.StatsReporter |
statsReporter(JaegerConfigurationProperties properties) |
io.opentracing.Tracer |
tracer(JaegerConfigurationProperties jaegerConfigurationProperties,
com.uber.jaeger.samplers.Sampler sampler,
com.uber.jaeger.reporters.Reporter reporter) |
@Bean public io.opentracing.Tracer tracer(JaegerConfigurationProperties jaegerConfigurationProperties, com.uber.jaeger.samplers.Sampler sampler, com.uber.jaeger.reporters.Reporter reporter)
@ConditionalOnMissingBean @Bean public com.uber.jaeger.reporters.Reporter reporter(JaegerConfigurationProperties properties, com.uber.jaeger.metrics.Metrics metrics, @Autowired(required=false) ReporterAppender reporterAppender)
@ConditionalOnMissingBean @Bean public com.uber.jaeger.metrics.Metrics reporterMetrics(com.uber.jaeger.metrics.StatsReporter statsReporter)
@ConditionalOnMissingBean @Bean public com.uber.jaeger.metrics.StatsReporter statsReporter(JaegerConfigurationProperties properties)
@ConditionalOnProperty(value="opentracing.jaeger.enableB3Propagation",
havingValue="true")
@Bean
public JaegerTracerCustomizer b3CodecJaegerTracerCustomizer()
@ConditionalOnMissingBean @Bean public com.uber.jaeger.samplers.Sampler sampler(JaegerConfigurationProperties properties, com.uber.jaeger.metrics.Metrics metrics)
Copyright © 2018. All rights reserved.