Bumping versions
This commit is contained in:
@@ -23,11 +23,12 @@
|
||||
|spring.sleuth.log.slf4j.enabled | true | Enable a {@link Slf4jScopeDecorator} that prints tracing information in the logs.
|
||||
|spring.sleuth.log.slf4j.whitelisted-mdc-keys | | A list of keys to be put from baggage to MDC.
|
||||
|spring.sleuth.messaging.enabled | false | Should messaging be turned on.
|
||||
|spring.sleuth.messaging.jms.enabled | false |
|
||||
|spring.sleuth.messaging.jms.enabled | true | Enable tracing of JMS.
|
||||
|spring.sleuth.messaging.jms.remote-service-name | jms |
|
||||
|spring.sleuth.messaging.kafka.enabled | false |
|
||||
|spring.sleuth.messaging.kafka.enabled | true | Enable tracing of Kafka.
|
||||
|spring.sleuth.messaging.kafka.mapper.enabled | true | Enable DefaultKafkaHeaderMapper tracing for Kafka.
|
||||
|spring.sleuth.messaging.kafka.remote-service-name | kafka |
|
||||
|spring.sleuth.messaging.rabbit.enabled | false |
|
||||
|spring.sleuth.messaging.rabbit.enabled | true | Enable tracing of RabbitMQ.
|
||||
|spring.sleuth.messaging.rabbit.remote-service-name | rabbitmq |
|
||||
|spring.sleuth.opentracing.enabled | true |
|
||||
|spring.sleuth.propagation-keys | | List of fields that are referenced the same in-process as it is on the wire. For example, the name "x-vcap-request-id" would be set as-is including the prefix. <p> Note: {@code fieldName} will be implicitly lower-cased. @see brave.propagation.ExtraFieldPropagation.FactoryBuilder#addField(String)
|
||||
|
||||
@@ -42,12 +42,13 @@ public class TraceAutoConfigurationCustomizersTests {
|
||||
|
||||
@Test
|
||||
public void should_apply_customizers() {
|
||||
this.contextRunner.withPropertyValues("spring.sleuth.baggage-keys=my-baggage").run((context) -> {
|
||||
Customizers bean = context.getBean(Customizers.class);
|
||||
this.contextRunner.withPropertyValues("spring.sleuth.baggage-keys=my-baggage")
|
||||
.run((context) -> {
|
||||
Customizers bean = context.getBean(Customizers.class);
|
||||
|
||||
shouldApplyCustomizations(bean);
|
||||
shouldNotOverrideTheDefaults(context);
|
||||
});
|
||||
shouldApplyCustomizations(bean);
|
||||
shouldNotOverrideTheDefaults(context);
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -49,7 +49,8 @@ import static org.assertj.core.api.BDDAssertions.then;
|
||||
* @author Marcin Grzejszczak
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = TraceMessagingAutoConfigurationTests.Config.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
||||
@SpringBootTest(classes = TraceMessagingAutoConfigurationTests.Config.class,
|
||||
webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
||||
public class TraceMessagingAutoConfigurationTests {
|
||||
|
||||
@Autowired
|
||||
@@ -222,4 +223,5 @@ class TestSleuthKafkaHeaderMapperBeanPostProcessor
|
||||
this.tracingCalled = true;
|
||||
return super.sleuthDefaultKafkaHeaderMapper(bean);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user