@Configuration
@EnableConfigurationProperties(value={<error>,GcpTraceProperties.class,<error>})
@ConditionalOnProperty(value="spring.cloud.gcp.trace.enabled",
matchIfMissing=true)
@ConditionalOnClass(value=<error>)
@AutoConfigureBefore(value={<error>,<error>})
public class StackdriverTraceAutoConfiguration
extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
StackdriverTraceAutoConfiguration.NonRefreshScopeProbabilityBasedSamplerConfiguration |
protected static class |
StackdriverTraceAutoConfiguration.RefreshScopedProbabilityBasedSamplerConfiguration |
static class |
StackdriverTraceAutoConfiguration.StackdriverTraceHttpAutoconfiguration |
| Constructor and Description |
|---|
StackdriverTraceAutoConfiguration(GcpProjectIdProvider gcpProjectIdProvider,
com.google.api.gax.core.CredentialsProvider credentialsProvider,
GcpTraceProperties gcpTraceProperties) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
spanBytesEncoder() |
Propagation.Factory |
stackdriverPropagation() |
Sender |
stackdriverSender(GcpTraceProperties traceProperties,
com.google.api.gax.core.ExecutorProvider executorProvider) |
SleuthProperties |
stackdriverSleuthProperties(SleuthProperties sleuthProperties) |
com.google.api.gax.core.ExecutorProvider |
traceExecutorProvider(GcpTraceProperties traceProperties) |
public StackdriverTraceAutoConfiguration(GcpProjectIdProvider gcpProjectIdProvider, com.google.api.gax.core.CredentialsProvider credentialsProvider, GcpTraceProperties gcpTraceProperties) throws IOException
IOException@Bean @Primary public SleuthProperties stackdriverSleuthProperties(SleuthProperties sleuthProperties)
@Bean @ConditionalOnMissingBean(name="traceExecutorProvider") public com.google.api.gax.core.ExecutorProvider traceExecutorProvider(GcpTraceProperties traceProperties)
@Bean @ConditionalOnMissingBean public Sender stackdriverSender(GcpTraceProperties traceProperties, @Qualifier(value="traceExecutorProvider") com.google.api.gax.core.ExecutorProvider executorProvider) throws IOException
IOException@Bean @ConditionalOnMissingBean public <any> spanBytesEncoder()
@Bean @ConditionalOnMissingBean public Propagation.Factory stackdriverPropagation()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.