@Configuration public class SleuthConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_BAGGAGE_PREFIX |
static String |
MESSAGING_BAGGAGE_PREFIX |
| Constructor and Description |
|---|
SleuthConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SleuthExtraFieldConfiguration |
sleuthExtraFieldConfiguration() |
brave.propagation.Propagation.Factory |
sleuthPropagation(SleuthExtraFieldConfiguration extraFieldConfiguration,
org.springframework.cloud.sleuth.autoconfig.SleuthProperties sleuthProperties)
This bean is copied from TraceAutoConfiguration class,
with some modification to support extra fields that can integrated for http and messaging
|
public static final String HTTP_BAGGAGE_PREFIX
public static final String MESSAGING_BAGGAGE_PREFIX
@Bean public brave.propagation.Propagation.Factory sleuthPropagation(SleuthExtraFieldConfiguration extraFieldConfiguration, org.springframework.cloud.sleuth.autoconfig.SleuthProperties sleuthProperties)
extraFieldConfiguration - extra field configurationsleuthProperties - sleuth propertiesTraceAutoConfiguration,
TraceAutoConfiguration.sleuthPropagation(SleuthProperties)@Bean public SleuthExtraFieldConfiguration sleuthExtraFieldConfiguration()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.